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:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user