app: make compositing of grain extract blend mode consistent

parent 954030fa
......@@ -96,7 +96,8 @@ gimp_operation_grain_extract_process_pixels (gfloat *in,
gfloat comp_alpha;
comp_alpha = MIN (in[ALPHA], layer[ALPHA]) * opacity;
comp_alpha = layer[ALPHA] * opacity;
if (has_mask)
comp_alpha *= *mask;
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