[gimp] pdb: also fix gimp-edit-bucket-fill-full, see below



commit 05b619cb8cd58b9d9bc91518075f2ddf9cc512de
Author: Michael Natterer <mitch gimp org>
Date:   Tue Mar 8 02:26:20 2016 +0100

    pdb: also fix gimp-edit-bucket-fill-full, see below

 app/pdb/edit-cmds.c       |    2 +-
 tools/pdbgen/pdb/edit.pdb |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/pdb/edit-cmds.c b/app/pdb/edit-cmds.c
index 4aac425..df471a9 100644
--- a/app/pdb/edit-cmds.c
+++ b/app/pdb/edit-cmds.c
@@ -712,7 +712,7 @@ edit_bucket_fill_full_invoker (GimpProcedure         *procedure,
           if (! gimp_channel_is_empty (gimp_image_get_mask (image)))
             {
               success = gimp_edit_fill (image, drawable, context, fill_type,
-                                        GIMP_OPACITY_OPAQUE, GIMP_NORMAL_MODE,
+                                        opacity / 100.0, paint_mode,
                                         error);
             }
           else
diff --git a/tools/pdbgen/pdb/edit.pdb b/tools/pdbgen/pdb/edit.pdb
index 0d3af69..a7d1ba4 100644
--- a/tools/pdbgen/pdb/edit.pdb
+++ b/tools/pdbgen/pdb/edit.pdb
@@ -776,7 +776,7 @@ HELP
       if (! gimp_channel_is_empty (gimp_image_get_mask (image)))
         {
           success = gimp_edit_fill (image, drawable, context, fill_type,
-                                    GIMP_OPACITY_OPAQUE, GIMP_NORMAL_MODE,
+                                    opacity / 100.0, paint_mode,
                                     error);
         }
       else


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