app: support src ops in gimp_gegl_apply_operation()

This commit is contained in:
Michael Natterer 2013-09-13 09:42:53 +02:00
parent 34c50b0fea
commit b5ff4fbab4
1 changed files with 1 additions and 1 deletions

View File

@ -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;