Commit 547d3149 authored by Ell's avatar Ell

Bug 784802 - Crop and rectangle-select tools incorrectly detect ...

... current aspect ratio

When starting the rectangle-select (and ellipse-select) tools,
properly reset their default aspect ratio to 1:1.  This fixes an
issue where the tool would use the aspect ratio of the last
rectangle when there's no user-overriden aspect ratio specified.

This restores the 2.8 behavior, except for the fact that the aspect
ratio resets to 1:1 when the tool is commited (if there's no user-
overriden ratio), rather than keeping the aspect ratio of the last
rectangle (i.e. "Current"); in 2.8 this only happend when halting.
The current behavior seems more consistent anyway.
parent 7959c7bf
......@@ -753,7 +753,7 @@ gimp_rectangle_select_tool_start (GimpRectangleSelectTool *rect_tool,
G_CALLBACK (gimp_rectangle_select_tool_auto_shrink),
rect_tool);
gimp_rectangle_select_tool_update_option_defaults (rect_tool, FALSE);
gimp_rectangle_select_tool_update_option_defaults (rect_tool, TRUE);
gimp_draw_tool_start (GIMP_DRAW_TOOL (tool), display);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment