[gimp] app: recompute line art if needed after a bucket fill commit.



commit 969143c4366b2e025cc0a46363a3c96722b3468f
Author: Jehan <jehan girinstud io>
Date:   Mon Nov 12 15:28:02 2018 +0100

    app: recompute line art if needed after a bucket fill commit.

 app/tools/gimpbucketfilltool.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/app/tools/gimpbucketfilltool.c b/app/tools/gimpbucketfilltool.c
index 7e81faecc0..1a944590d6 100644
--- a/app/tools/gimpbucketfilltool.c
+++ b/app/tools/gimpbucketfilltool.c
@@ -404,14 +404,13 @@ gimp_bucket_fill_tool_preview (GimpBucketFillTool *tool,
 static void
 gimp_bucket_fill_tool_commit (GimpBucketFillTool *tool)
 {
+  tool->priv->fill_in_progress = FALSE;
+
   if (tool->priv->filter)
     {
       gimp_drawable_filter_commit (tool->priv->filter,
                                    GIMP_PROGRESS (tool), FALSE);
       gimp_image_flush (gimp_display_get_image (GIMP_TOOL (tool)->display));
-
-      if (tool->priv->compute_line_art_after_fill)
-        gimp_bucket_fill_compute_line_art (tool);
     }
 }
 


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