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



commit b2e19bcf742f49474e0868147428f122e79b3366
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 bf3aef5..6c993b7 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]