[gimp] Bug 784802 - Crop and rectangle-select tools incorrectly detect ...



commit 547d3149d53d2457d9733d2a1a978a94fd34dd73
Author: Ell <ell_se yahoo com>
Date:   Thu Feb 15 15:33:45 2018 -0500

    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.

 app/tools/gimprectangleselecttool.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/tools/gimprectangleselecttool.c b/app/tools/gimprectangleselecttool.c
index 993affb..1948086 100644
--- a/app/tools/gimprectangleselecttool.c
+++ b/app/tools/gimprectangleselecttool.c
@@ -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);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]