app: silence warning in gimp_transform_resize_crop()
The crop-to-result and crop-with-aspect transform-boundary
algorithms seem to consistently fail in some cases, and spit out a
warning, which can be too verbose if it triggers the debug dialog.
Demote the warning to a g_printerr(), with an eye to just dropping
these algorithms altogether.
(cherry picked from commit 0103fe2c19
)
This commit is contained in:
@ -366,7 +366,7 @@ gimp_transform_resize_crop (const GimpVector2 *orig_points,
|
||||
/* saveguard if something went wrong, adjust and give warning */
|
||||
gimp_transform_resize_adjust (orig_points, n_points,
|
||||
x1, y1, x2, y2);
|
||||
g_warning ("no rectangle found by algorithm, no cropping done");
|
||||
g_printerr ("no rectangle found by algorithm, no cropping done\n");
|
||||
return;
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user