[gimp] app: free select: start the draw tool more subclass-friendly



commit d695c98d74fddcfc6b78aa253dada302ae391c44
Author: Michael Natterer <mitch gimp org>
Date:   Thu Apr 17 10:51:50 2014 +0200

    app: free select: start the draw tool more subclass-friendly

 app/tools/gimpfreeselecttool.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/app/tools/gimpfreeselecttool.c b/app/tools/gimpfreeselecttool.c
index 9c91f62..39269c9 100644
--- a/app/tools/gimpfreeselecttool.c
+++ b/app/tools/gimpfreeselecttool.c
@@ -1224,14 +1224,15 @@ gimp_free_select_tool_button_press (GimpTool            *tool,
 
       tool->display = display;
 
-      gimp_draw_tool_start (draw_tool, display);
-
       /* We want to apply the selection operation that was current when
        * the tool was started, so we save this information
        */
       priv->operation_at_start = options->operation;
     }
 
+  if (! gimp_draw_tool_is_active (draw_tool))
+    gimp_draw_tool_start (draw_tool, display);
+
   gimp_tool_control_activate (tool->control);
 
   gimp_draw_tool_pause (draw_tool);


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