[gimp/goat-invasion: 181/526] app: flush the buffer in gimp_gegl_buffer_get_tiles()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/goat-invasion: 181/526] app: flush the buffer in gimp_gegl_buffer_get_tiles()
- Date: Sun, 22 Apr 2012 13:14:29 +0000 (UTC)
commit ec4748d82f19937fcf4ccbf82467e79a3d8ce810
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]