[gimp] Bug 765459 - Artifacts symmetry painting with big brushes.
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Bug 765459 - Artifacts symmetry painting with big brushes.
- Date: Sat, 23 Apr 2016 18:40:07 +0000 (UTC)
commit 77a68e00afe68b20759816e0c4ba9bd2cf4465bb
Author: Jehan <jehan girinstud io>
Date: Sun Apr 24 00:01:45 2016 +0530
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 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/app/core/gimpbrush.c b/app/core/gimpbrush.c
index 6d1b5b1..eaa47ed 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]