[gimp/gimp-2-10] app: force the image flush after a selection fill.



commit ee582784b709b879693e44281a12d8087c28f226
Author: Jehan <jehan girinstud io>
Date:   Fri Nov 16 13:41:12 2018 +0100

    app: force the image flush after a selection fill.
    
    Other bucket fills are now done as filter until committed, but basic
    selection fill is still done automatically. So let's make sure the
    canvas is updated immediately (as it used to be before my changes).
    
    (cherry picked from commit 287d90ba9e90573f41e78226ad3a235933348eb5)

 app/tools/gimpbucketfilltool.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/app/tools/gimpbucketfilltool.c b/app/tools/gimpbucketfilltool.c
index b04d80333b..5ce51a5ee2 100644
--- a/app/tools/gimpbucketfilltool.c
+++ b/app/tools/gimpbucketfilltool.c
@@ -514,6 +514,7 @@ gimp_bucket_fill_tool_button_press (GimpTool            *tool,
           if (options->fill_selection)
             {
               gimp_drawable_edit_fill (drawable, fill_options, NULL);
+              gimp_image_flush (image);
             }
           else
             {


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