[gegl] gegl: initialize tile's members before inserting in the cache



commit 9d2b618ea925e132668bb8b43bbb3c4cef19ec2b
Author: Massimo Valentini <mvalentini src gnome org>
Date:   Thu Nov 28 18:23:34 2013 +0100

    gegl: initialize tile's members before inserting in the cache

 gegl/buffer/gegl-tile-handler-cache.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gegl/buffer/gegl-tile-handler-cache.c b/gegl/buffer/gegl-tile-handler-cache.c
index 3719c0e..bb91b7b 100644
--- a/gegl/buffer/gegl-tile-handler-cache.c
+++ b/gegl/buffer/gegl-tile-handler-cache.c
@@ -526,6 +526,11 @@ gegl_tile_handler_cache_insert (GeglTileHandlerCache *cache,
   item->y         = y;
   item->z         = z;
 
+  tile->x = x;
+  tile->y = y;
+  tile->z = z;
+  tile->tile_storage = cache->tile_storage;
+
   // XXX : remove entry if it already exists
   gegl_tile_handler_cache_void (cache, x, y, z);
 


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