Commit 076d9b2a authored by Ell's avatar Ell

app: restore behavior of gimp_gegl_apply_operation() with NULL src_buffer

Restore the behavior of gimp_gegl_apply_operation() prior to
11629fde when src_buffer is NULL:
keep the existing operation-node input, instead of using an empty
input.  Unlike gimp_gegl_apply_cached_operation(),
gimp_gegl_apply_operation() doesn't have an explicit
connect_src_buffer parameter.

This fixes empty output when merging layers.
parent 8976370b
Pipeline #120928 passed with stages
in 24 minutes and 1 second
......@@ -62,7 +62,7 @@ gimp_gegl_apply_operation (GeglBuffer *src_buffer,
gimp_gegl_apply_cached_operation (src_buffer,
progress, undo_desc,
src_buffer != NULL,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment