[gimp/goat-invasion] app: enable smudge on indexed images
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/goat-invasion] app: enable smudge on indexed images
- Date: Tue, 17 Apr 2012 23:08:50 +0000 (UTC)
commit a2a58bc3878ab317367ba15605f8fc1742e0865b
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 156dde5..44dcaf4 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]