app: don't invalidate the buffer source in gimp_drawable_real_update()

This was an artifact from the times of the initial GEGL port,
apparently something was broken in GEGL at the time.
This commit is contained in:
Michael Natterer 2016-02-14 22:39:42 +01:00
parent e73b3ea20e
commit c2cef394b2

View file

@ -742,22 +742,6 @@ gimp_drawable_real_update (GimpDrawable *drawable,
gint width,
gint height)
{
if (drawable->private->buffer_source_node)
{
GObject *operation = NULL;
g_object_get (drawable->private->buffer_source_node,
"gegl-operation", &operation,
NULL);
if (operation)
{
gegl_operation_invalidate (GEGL_OPERATION (operation),
GEGL_RECTANGLE (x,y,width,height), FALSE);
g_object_unref (operation);
}
}
gimp_viewable_invalidate_preview (GIMP_VIEWABLE (drawable));
}