[gimp/goat-invasion: 182/234] app: flush the buffer in gimp_gegl_buffer_get_tiles()



commit 47f1e398c9b8029b0d512dba971ddc6dc5e22a35
Author: Michael Natterer <mitch gimp org>
Date:   Wed Mar 21 14:26:03 2012 +0100

    app: flush the buffer in gimp_gegl_buffer_get_tiles()
    
    so the tiles are up-to-date.

 app/gegl/gimp-gegl-utils.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/app/gegl/gimp-gegl-utils.c b/app/gegl/gimp-gegl-utils.c
index 8b1f256..23f9970 100644
--- a/app/gegl/gimp-gegl-utils.c
+++ b/app/gegl/gimp-gegl-utils.c
@@ -246,6 +246,8 @@ gimp_gegl_buffer_get_tiles (GeglBuffer *buffer)
 
   g_return_val_if_fail (GIMP_IS_TILE_BACKEND_TILE_MANAGER (backend), NULL);
 
+  gegl_buffer_flush (buffer);
+
   return gimp_tile_backend_tile_manager_get_tiles (backend);
 }
 



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