gegl r2631 - in trunk: . gegl



Author: ok
Date: Wed Oct 15 17:33:42 2008
New Revision: 2631
URL: http://svn.gnome.org/viewvc/gegl?rev=2631&view=rev

Log:
* gegl/gegl-xml.c: (start_element): special case layer elements and
make them generate gegl:layer ops.


Modified:
   trunk/ChangeLog
   trunk/gegl/gegl-xml.c

Modified: trunk/gegl/gegl-xml.c
==============================================================================
--- trunk/gegl/gegl-xml.c	(original)
+++ trunk/gegl/gegl-xml.c	Wed Oct 15 17:33:42 2008
@@ -297,6 +297,12 @@
                                      "operation", "gegl:clone",
                                      NULL);
         }
+      else if (!strcmp (element_name, "layer"))
+        {
+          new = gegl_node_new_child (pd->gegl,
+                                     "operation", "gegl:layer",
+                                     NULL);
+        }
       else if (!strcmp (element_name, "node"))
         {
           new = gegl_node_new_child (pd->gegl,



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