gegl r2791 - in trunk: . gegl/property-types



Author: ok
Date: Fri Nov 21 20:42:08 2008
New Revision: 2791
URL: http://svn.gnome.org/viewvc/gegl?rev=2791&view=rev

Log:
* gegl/property-types/gegl-path.c: (gegl_path_get_bounds): do not
include 'z' instructions when computing the bounding box of paths.


Modified:
   trunk/ChangeLog
   trunk/gegl/property-types/gegl-path.c

Modified: trunk/gegl/property-types/gegl-path.c
==============================================================================
--- trunk/gegl/property-types/gegl-path.c	(original)
+++ trunk/gegl/property-types/gegl-path.c	Fri Nov 21 20:42:08 2008
@@ -922,6 +922,8 @@
         max = 1;
       else if (iter->d.type == 'C')
         max = 3;
+      else if (iter->d.type == 'z')
+        max = 0;
 
       for (i=0;i<max;i++)
         {



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