app: Don't reuse the GeglProcessor

Don't reuse the GeglProcessor as it can't handle dirty rects when
painting in GIMP, and this makes it harder to make GEGL-wise progress
in other parts of GIMP.
This commit is contained in:
Martin Nordholts
2009-08-07 21:54:54 +02:00
parent 3db68e254a
commit b9b05e7d39

View File

@ -158,6 +158,12 @@ 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