app: resue the GeglProcessor
GEGL now resets the valid-region upon each setting of the rectangle for a GeglProcessor.
This commit is contained in:
committed by
Michael Natterer
parent
321de230f1
commit
3020e2d179
@ -161,12 +161,6 @@ gimp_projection_construct_gegl (GimpProjection *proj,
|
||||
gegl_processor_set_rectangle (proj->processor, &rect);
|
||||
|
||||
while (gegl_processor_work (proj->processor, NULL));
|
||||
|
||||
/* FIXME: Reuse it when it can handle dirty rects when painting
|
||||
* properly
|
||||
*/
|
||||
g_object_unref (proj->processor);
|
||||
proj->processor = NULL;
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user