[gegl] Revert "buffer: avoid inadvertently increasing revision of tile"



commit 3601fc845b63a8ab200d0dd9c283b81744013155
Author: Ãyvind KolÃs <pippin gimp org>
Date:   Thu Mar 15 01:57:59 2012 +0000

    Revert "buffer: avoid inadvertently increasing revision of tile"
    
    This reverts commit 3b983db51bc8743aed7ca30093423bf6686293aa.

 gegl/buffer/gegl-buffer.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/gegl/buffer/gegl-buffer.c b/gegl/buffer/gegl-buffer.c
index 555be78..b6b7179 100644
--- a/gegl/buffer/gegl-buffer.c
+++ b/gegl/buffer/gegl-buffer.c
@@ -742,10 +742,6 @@ gegl_buffer_get_tile (GeglTileSource *source,
             gegl_tile_lock (tile);
             tile->tile_storage = buffer->tile_storage;
             gegl_tile_unlock (tile);
-            tile->rev --; /* the lock/unlock cycle increases the revision
-                           * making it be out of sync with backing, causing
-                           * a save even of untouched images.
-                           */
           }
         tile->x = x;
         tile->y = y;



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