[gimp/soc-2011-warp: 18/18] gimpoperationwarp: use the good format for input/output



commit 9866b50b99c844bf9b3b948f9e62cdec15a2b98e
Author: Michael Muré <batolettre gmail com>
Date:   Sat Jun 4 13:22:02 2011 +0200

    gimpoperationwarp: use the good format for input/output

 app/gegl/gimpoperationwarp.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/app/gegl/gimpoperationwarp.c b/app/gegl/gimpoperationwarp.c
index d565116..8645a76 100644
--- a/app/gegl/gimpoperationwarp.c
+++ b/app/gegl/gimpoperationwarp.c
@@ -92,7 +92,6 @@ gimp_operation_warp_class_init (GimpOperationWarpClass *klass)
                                    "stroke", _("Stroke"),
                                    GEGL_TYPE_PATH,
                                    GIMP_PARAM_STATIC_STRINGS);
-
 }
 
 static void
@@ -171,8 +170,8 @@ gimp_operation_warp_set_property (GObject      *object,
 static void
 gimp_operation_warp_prepare (GeglOperation *operation)
 {
-  gegl_operation_set_format (operation, "input", babl_format ("RGBA float"));
-  gegl_operation_set_format (operation, "output", babl_format ("RGBA float"));
+  gegl_operation_set_format (operation, "input", babl_format_n (babl_type ("float"), 2));
+  gegl_operation_set_format (operation, "output", babl_format_n (babl_type ("float"), 2));
 }
 
 static gboolean



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