[gimp] app: enable smudge on indexed images



commit 793bebe2d3f60d10a718276b7d169575a2de0354
Author: Michael Natterer <mitch gimp org>
Date:   Wed Apr 18 01:08:23 2012 +0200

    app: enable smudge on indexed images

 app/paint/gimpsmudge.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/app/paint/gimpsmudge.c b/app/paint/gimpsmudge.c
index 8129a40..1495c2f 100644
--- a/app/paint/gimpsmudge.c
+++ b/app/paint/gimpsmudge.c
@@ -167,9 +167,6 @@ gimp_smudge_start (GimpPaintCore    *paint_core,
   gint        accum_size;
   gint        x, y;
 
-  if (gimp_drawable_is_indexed (drawable))
-    return FALSE;
-
   paint_buffer = gimp_paint_core_get_paint_buffer (paint_core, drawable,
                                                    paint_options, coords,
                                                    &paint_buffer_x,
@@ -255,9 +252,6 @@ gimp_smudge_motion (GimpPaintCore    *paint_core,
   gint                x, y;
   gdouble             hardness;
 
-  if (gimp_drawable_is_indexed (drawable))
-    return;
-
   image = gimp_item_get_image (GIMP_ITEM (drawable));
 
   opacity_output = gimp_dynamics_get_output (dynamics,



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