[gimp/goat-invasion: 425/608] app: fix mode node creation in gimp_gegl_create_apply_buffer_node()



commit 326ca5f7103c5afef9a29b7b041ad91da45e3748
Author: Michael Natterer <mitch gimp org>
Date:   Thu Apr 5 19:17:02 2012 +0200

    app: fix mode node creation in gimp_gegl_create_apply_buffer_node()

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



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