gegl r2639 - in trunk: . gegl/buffer



Author: ok
Date: Sun Oct 19 15:58:51 2008
New Revision: 2639
URL: http://svn.gnome.org/viewvc/gegl?rev=2639&view=rev

Log:
* gegl/buffer/gegl-cache.c: (gegl_cache_invalidate): clear region
being invalidated in the cache (the cache is being used as the abyss
when the bounding-box shrinks.)


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

Modified: trunk/gegl/buffer/gegl-cache.c
==============================================================================
--- trunk/gegl/buffer/gegl-cache.c	(original)
+++ trunk/gegl/buffer/gegl-cache.c	Sun Oct 19 15:58:51 2008
@@ -330,15 +330,14 @@
 gegl_cache_invalidate (GeglCache           *self,
                        const GeglRectangle *roi)
 {
-#if 0
+#if 1
   if (roi)
     {
-      g_print ("invalidate of %i,%i %iÃ%i\n", roi->x, roi->y, roi->width, roi->height);
       gegl_buffer_clear (GEGL_BUFFER (self), roi);
     }
   else
     {
-      g_print ("full invalidate of a GeglCache\n");
+      g_warning ("XXX: full invalidation of GeglCache NYI\n");
     }
 #endif
   if (roi)



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