[gimp] 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] app: flush the buffer in gimp_gegl_buffer_get_tiles()
- Date: Wed, 2 May 2012 16:11:41 +0000 (UTC)
commit 91ec2feb49865e99b7d367449734563a2bac0faa
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]