[gimp/goat-invasion: 219/526] 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/526] app: flush and refetch the shadow buffer before handing it out
- Date: Sun, 22 Apr 2012 13:17:42 +0000 (UTC)
commit 8a0c6e79c0df02573a9e1ddb2a38693ea0b56ff2
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]