Commit 4c55475a 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.

(cherry picked from commit 076d9b2a)
parent b89ad56a
Pipeline #120927 passed with stages
in 12 minutes and 18 seconds
......@@ -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