mirror of https://github.com/GNOME/gimp.git
app: flush the drawable_s write_buffer in gimp_drawable_update()
because it's called after each drawable modification and therefore a good place to sync buffrs and tiles.
This commit is contained in:
parent
8aabfb1779
commit
105aff0296
|
@ -1264,6 +1264,9 @@ gimp_drawable_update (GimpDrawable *drawable,
|
|||
{
|
||||
g_return_if_fail (GIMP_IS_DRAWABLE (drawable));
|
||||
|
||||
if (drawable->private->write_buffer)
|
||||
gegl_buffer_flush (drawable->private->write_buffer);
|
||||
|
||||
g_signal_emit (drawable, gimp_drawable_signals[UPDATE], 0,
|
||||
x, y, width, height);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue