gegl r2248 - in trunk: . gegl/buffer



Author: ok
Date: Sun Apr 27 13:55:10 2008
New Revision: 2248
URL: http://svn.gnome.org/viewvc/gegl?rev=2248&view=rev

Log:
* gegl/buffer/gegl-tile.c: (gegl_tile_void_pyramid): only perform
voiding if a tile_storage is attached to the tile.


Modified:
   trunk/ChangeLog
   trunk/gegl/buffer/gegl-tile.c

Modified: trunk/gegl/buffer/gegl-tile.c
==============================================================================
--- trunk/gegl/buffer/gegl-tile.c	(original)
+++ trunk/gegl/buffer/gegl-tile.c	Sun Apr 27 13:55:10 2008
@@ -273,7 +273,8 @@
 static void
 gegl_tile_void_pyramid (GeglTile *tile)
 {
-  if (tile->z == 0) /* we only accepting voiding the base level */
+  if (tile->tile_storage && 
+      tile->z == 0) /* we only accepting voiding the base level */
     {
       _gegl_tile_void_pyramid (GEGL_TILE_SOURCE (tile->tile_storage), 
                                tile->x/2,



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