From b5ff4fbab4cb3f2bc428cdfc1c466758c219d527 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Fri, 13 Sep 2013 09:42:53 +0200 Subject: [PATCH] app: support src ops in gimp_gegl_apply_operation() --- app/gegl/gimp-gegl-apply-operation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/gegl/gimp-gegl-apply-operation.c b/app/gegl/gimp-gegl-apply-operation.c index 439e3c6ac07..180007c0313 100644 --- a/app/gegl/gimp-gegl-apply-operation.c +++ b/app/gegl/gimp-gegl-apply-operation.c @@ -68,7 +68,7 @@ gimp_gegl_apply_operation (GeglBuffer *src_buffer, if (! gegl_node_get_parent (operation)) gegl_node_add_child (gegl, operation); - if (src_buffer) + if (src_buffer && gegl_node_has_pad (operation, "input")) { GeglNode *src_node;