[gimp] app: clear tentative gradient when halting the blend tool



commit 862bb0047819a5ccaef84e6bca272dbb90c91f11
Author: Ell <ell_se yahoo com>
Date:   Wed Oct 11 05:55:36 2017 -0400

    app: clear tentative gradient when halting the blend tool
    
    Currently, it should already be cleared at this point, but still.

 app/tools/gimpblendtool.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/app/tools/gimpblendtool.c b/app/tools/gimpblendtool.c
index 72c656a..89d5f24 100644
--- a/app/tools/gimpblendtool.c
+++ b/app/tools/gimpblendtool.c
@@ -637,6 +637,8 @@ gimp_blend_tool_halt (GimpBlendTool *blend_tool)
       gimp_image_flush (gimp_display_get_image (tool->display));
     }
 
+  gimp_blend_tool_set_tentative_gradient (blend_tool, NULL);
+
   g_signal_handlers_disconnect_by_func (context,
                                         G_CALLBACK (gimp_blend_tool_fg_bg_changed),
                                         blend_tool);


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