app: fix mode node creation in gimp_gegl_create_apply_buffer_node()

This commit is contained in:
Michael Natterer
2012-04-05 19:17:02 +02:00
parent 368ae01c86
commit 6c83b0327d

View File

@ -189,7 +189,9 @@ gimp_gegl_create_apply_buffer_node (GeglBuffer *buffer,
gegl_node_connect_to (mask_source, "output", gegl_node_connect_to (mask_source, "output",
opacity_node, "aux"); 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); gimp_gegl_node_set_layer_mode (node, mode, FALSE);
gegl_node_connect_to (opacity_node, "output", gegl_node_connect_to (opacity_node, "output",