[gimp] Bug 721249 - pdb.gimp_context_set_brush_size() dont't work



commit 9fe869236bbf178ac9699e0e789f78aa085e5ef6
Author: Michael Natterer <mitch gimp org>
Date:   Mon Feb 3 23:05:56 2014 +0100

    Bug 721249 - pdb.gimp_context_set_brush_size() dont't work
    
    Don't reset the brush size before each PDB paint stroke.

 app/pdb/paint-tools-cmds.c       |    4 ----
 tools/pdbgen/pdb/paint_tools.pdb |    4 ----
 2 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/app/pdb/paint-tools-cmds.c b/app/pdb/paint-tools-cmds.c
index 419cf59..7933577 100644
--- a/app/pdb/paint-tools-cmds.c
+++ b/app/pdb/paint-tools-cmds.c
@@ -66,10 +66,6 @@ paint_tools_stroke (Gimp              *gimp,
 
   n_strokes /= 2;  /* #doubles -> #points */
 
-  /* FIXME: i'm most certain that this is wrong, see bug 721249 --mitch */
-  gimp_paint_options_set_default_brush_size (options,
-                                             gimp_context_get_brush (context));
-
   /*  undefine the paint-relevant context properties and get them
    *  from the current context
    */
diff --git a/tools/pdbgen/pdb/paint_tools.pdb b/tools/pdbgen/pdb/paint_tools.pdb
index 40a9907..51ee4f0 100644
--- a/tools/pdbgen/pdb/paint_tools.pdb
+++ b/tools/pdbgen/pdb/paint_tools.pdb
@@ -1005,10 +1005,6 @@ paint_tools_stroke (Gimp              *gimp,
 
   n_strokes /= 2;  /* #doubles -> #points */
 
-  /* FIXME: i'm most certain that this is wrong, see bug 721249 --mitch */
-  gimp_paint_options_set_default_brush_size (options,
-                                             gimp_context_get_brush (context));
-
   /*  undefine the paint-relevant context properties and get them
    *  from the current context
    */


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