[gimp] 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] app: flush and refetch the shadow buffer before handing it out
- Date: Wed, 2 May 2012 16:14:52 +0000 (UTC)
commit d2506e43bc95037e58f27ba4c88f5fe66dcb7775
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]