[gimp/goat-invasion: 428/526] app: set the mode on the right node in gimp_gegl_create_apply_buffer_node()



commit 885b330de598f2040f990f7ef63d441c0ec19805
Author: Michael Natterer <mitch gimp org>
Date:   Fri Apr 6 21:52:35 2012 +0200

    app: set the mode on the right node in gimp_gegl_create_apply_buffer_node()

 app/gegl/gimp-gegl-nodes.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/gegl/gimp-gegl-nodes.c b/app/gegl/gimp-gegl-nodes.c
index 05c8d53..1b05df5 100644
--- a/app/gegl/gimp-gegl-nodes.c
+++ b/app/gegl/gimp-gegl-nodes.c
@@ -192,7 +192,7 @@ gimp_gegl_create_apply_buffer_node (GeglBuffer           *buffer,
   mode_node = gegl_node_new_child (node,
                                    "operation", "gegl:over",
                                    NULL);
-  gimp_gegl_node_set_layer_mode (node, mode, FALSE);
+  gimp_gegl_node_set_layer_mode (mode_node, mode, FALSE);
 
   gegl_node_connect_to (opacity_node, "output",
                         mode_node,    "aux");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]