[gimp/gimp-2-10] app: in the gradient tool, set the graph's underlying node
- From: Ell <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] app: in the gradient tool, set the graph's underlying node
- Date: Sun, 28 Jul 2019 09:11:04 +0000 (UTC)
commit 0712504d0c6cb597163c5a9ca32cc285fba9638c
Author: Ell <ell_se yahoo com>
Date: Sun Jul 28 11:53:03 2019 +0300
app: in the gradient tool, set the graph's underlying node
... to the gimp:gradient node
(cherry picked from commit a1f676aabd0451f81384504655917afa0ffcd143)
app/tools/gimpgradienttool.c | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/app/tools/gimpgradienttool.c b/app/tools/gimpgradienttool.c
index 33488a85c2..598f804fc2 100644
--- a/app/tools/gimpgradienttool.c
+++ b/app/tools/gimpgradienttool.c
@@ -30,6 +30,8 @@
#include "config/gimpguiconfig.h"
+#include "gegl/gimp-gegl-utils.h"
+
#include "operations/gimp-operation-config.h"
#include "operations/layer-modes/gimp-layer-modes.h"
@@ -887,6 +889,9 @@ gimp_gradient_tool_create_graph (GimpGradientTool *gradient_tool)
output,
NULL);
+ gimp_gegl_node_set_underlying_operation (gradient_tool->graph,
+ gradient_tool->render_node);
+
gimp_gradient_tool_update_graph (gradient_tool);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]