[gimp/goat-invasion: 182/325] 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: 182/325] app: flush the buffer in gimp_gegl_buffer_get_tiles()
- Date: Fri, 30 Mar 2012 09:49:32 +0000 (UTC)
commit 6253887acc7a4e9b95ac0be2a1aae95fc49cce5a
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]