[gimp/goat-invasion: 219/401] app: flush and refetch the shadow buffer before handing it out
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/goat-invasion: 219/401] app: flush and refetch the shadow buffer before handing it out
- Date: Mon, 2 Apr 2012 12:06:31 +0000 (UTC)
commit f3aaf66074e0b5f897261aaf79733abe5eefeda4
Author: Michael Natterer <mitch gimp org>
Date: Thu Mar 22 19:16:07 2012 +0100
app: flush and refetch the shadow buffer before handing it out
app/core/gimpdrawable-shadow.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/app/core/gimpdrawable-shadow.c b/app/core/gimpdrawable-shadow.c
index 96b1d10..78bcc72 100644
--- a/app/core/gimpdrawable-shadow.c
+++ b/app/core/gimpdrawable-shadow.c
@@ -54,6 +54,9 @@ gimp_drawable_get_shadow_buffer (GimpDrawable *drawable)
}
else
{
+ gegl_buffer_flush (drawable->private->shadow);
+ gimp_gegl_buffer_refetch_tiles (drawable->private->shadow);
+
return drawable->private->shadow;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]