gegl r1841 - in trunk: . gegl/graph



Author: ok
Date: Tue Jan 15 21:39:43 2008
New Revision: 1841
URL: http://svn.gnome.org/viewvc/gegl?rev=1841&view=rev

Log:
* gegl/graph/gegl-node-context.c: (gegl_node_context_get_target):
Improve development debug message about mising format, and fall back
to RGBA float if no format is specified on the output pad.


Modified:
   trunk/ChangeLog
   trunk/gegl/graph/gegl-node-context.c

Modified: trunk/gegl/graph/gegl-node-context.c
==============================================================================
--- trunk/gegl/graph/gegl-node-context.c	(original)
+++ trunk/gegl/graph/gegl-node-context.c	Tue Jan 15 21:39:43 2008
@@ -327,8 +327,8 @@
 
   if (format == NULL)
     {
-      g_warning ("no format for %s\n", gegl_node_get_debug_name (node));
-      return NULL;
+      g_warning ("no format for %s presuming RGBA float\n", gegl_node_get_debug_name (node));
+      format = babl_format ("RGBA float");
     }
   g_assert (format != NULL);
   g_assert (!strcmp (padname, "output"));



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