app: resue the GeglProcessor

GEGL now resets the valid-region upon each setting of the rectangle for
a GeglProcessor.
This commit is contained in:
Øyvind Kolås 2012-03-14 02:34:35 +00:00 committed by Michael Natterer
parent 321de230f1
commit 3020e2d179
1 changed files with 0 additions and 6 deletions

View File

@ -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