[gimp] app: make the GEGL tool work on indexed images



commit cdf503ab9652761efe94564325123c768e2ec8e7
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]