mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-04 01:43:24 +00:00
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:
parent
e73b3ea20e
commit
c2cef394b2
1 changed files with 0 additions and 16 deletions
|
@ -742,22 +742,6 @@ gimp_drawable_real_update (GimpDrawable *drawable,
|
||||||
gint width,
|
gint width,
|
||||||
gint height)
|
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));
|
gimp_viewable_invalidate_preview (GIMP_VIEWABLE (drawable));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue