[gimp/metadata-browser] app: make the GEGL tool work on indexed images



commit 2ca72390b8bd5715b94332b83b740ee2295e5c82
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]