[gimp/gimp-2-10] app: update gimp-2-10 for bucket fill changes for smart colorization.



commit b6227b27874930d0dffbecb4441d46de5c663b79
Author: Jehan <jehan girinstud io>
Date:   Mon Nov 12 11:31:27 2018 +0100

    app: update gimp-2-10 for bucket fill changes for smart colorization.
    
    Some differences in PDB between gimp-2-10 and master branches.

 app/pdb/edit-cmds.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/app/pdb/edit-cmds.c b/app/pdb/edit-cmds.c
index 04468b02e2..f700122e0c 100644
--- a/app/pdb/edit-cmds.c
+++ b/app/pdb/edit-cmds.c
@@ -627,12 +627,13 @@ edit_bucket_fill_invoker (GimpProcedure         *procedure,
                 }
               else
                 {
-                  gimp_drawable_bucket_fill (drawable, options,
+                  gimp_drawable_bucket_fill (drawable, NULL, options,
                                              FALSE /* don't fill transparent */,
                                              GIMP_SELECT_CRITERION_COMPOSITE,
                                              threshold / 255.0,
                                              sample_merged,
                                              FALSE /* no diagonal neighbors */,
+                                             0.92, -1, /* TODO */
                                              x, y);
                }
             }
@@ -704,12 +705,13 @@ edit_bucket_fill_full_invoker (GimpProcedure         *procedure,
                 }
               else
                 {
-                  gimp_drawable_bucket_fill (drawable, options,
+                  gimp_drawable_bucket_fill (drawable, NULL, options,
                                              fill_transparent,
                                              select_criterion,
                                              threshold / 255.0,
                                              sample_merged,
                                              FALSE /* no diagonal neighbors */,
+                                             0.92, -1, /* TODO */
                                              x, y);
                }
             }


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