[gimp/goat-invasion: 139/526] app: make the GEGL tool work on indexed images
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/goat-invasion: 139/526] app: make the GEGL tool work on indexed images
- Date: Sun, 22 Apr 2012 13:10:57 +0000 (UTC)
commit 135a89be2712b43927a330e4c823c7f1cd6a8f2b
Author: Ãyvind KolÃs <pippin gimp org>
Date: Sun Mar 18 21:47:59 2012 +0000
app: make the GEGL tool work on indexed images
With the recent refactoring, there is nothing that stops GEGL operations from
working on indexed images.
app/tools/gimpgegltool.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/app/tools/gimpgegltool.c b/app/tools/gimpgegltool.c
index e913ec3..e579eab 100644
--- a/app/tools/gimpgegltool.c
+++ b/app/tools/gimpgegltool.c
@@ -154,13 +154,6 @@ gimp_gegl_tool_initialize (GimpTool *tool,
if (! drawable)
return FALSE;
- if (gimp_drawable_is_indexed (drawable))
- {
- g_set_error_literal (error, GIMP_ERROR, GIMP_FAILED,
- _("GEGL operations do not operate on indexed layers."));
- return FALSE;
- }
-
if (g_tool->config)
gimp_config_reset (GIMP_CONFIG (g_tool->config));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]