[gimp/gimp-2-10] app, pdb: more gimp-2-10 only tweak for the smart-colorization.



commit 3ef6c2fb962e4d9c49b79d6afb102c2f81cca5c8
Author: Jehan <jehan girinstud io>
Date:   Wed Dec 19 16:25:04 2018 +0100

    app, pdb: more gimp-2-10 only tweak for the smart-colorization.
    
    Again some changes because of the different PDB file organization
    between branches.

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


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