[gimp] app: fix mode node creation in gimp_gegl_create_apply_buffer_node()



commit 6c83b0327d9ea19d3c157e8485d1c80da24cc289
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]