From 77a68e00afe68b20759816e0c4ba9bd2cf4465bb Mon Sep 17 00:00:00 2001 From: Jehan Date: Sun, 24 Apr 2016 00:01:45 +0530 Subject: [PATCH] Bug 765459 - Artifacts symmetry painting with big brushes. Use gegl_node_blit() instead of gegl_node_process() as proposed by Massimo in the bug report. --- app/core/gimpbrush.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/app/core/gimpbrush.c b/app/core/gimpbrush.c index 6d1b5b1641..eaa47edf97 100644 --- a/app/core/gimpbrush.c +++ b/app/core/gimpbrush.c @@ -669,7 +669,12 @@ gimp_brush_transform_mask (GimpBrush *brush, NULL); gegl_node_link_many (source, op, target, NULL); - gegl_node_process (target); + gegl_node_blit (target, 1.0, + GEGL_RECTANGLE (0, 0, + gegl_buffer_get_width (buffer), + gegl_buffer_get_height (buffer)), + NULL, NULL, 0, GEGL_BLIT_DEFAULT); + g_object_unref (graph); g_object_unref (buffer); @@ -743,7 +748,11 @@ gimp_brush_transform_pixmap (GimpBrush *brush, NULL); gegl_node_link_many (source, op, target, NULL); - gegl_node_process (target); + gegl_node_blit (target, 1.0, + GEGL_RECTANGLE (0, 0, + gegl_buffer_get_width (buffer), + gegl_buffer_get_height (buffer)), + NULL, NULL, 0, GEGL_BLIT_DEFAULT); g_object_unref (graph); g_object_unref (buffer);