mirror of https://github.com/GNOME/gimp.git
app: fix gegl convolve to actually write back the result when not in alpha weighted mode
This commit is contained in:
parent
91973bfef8
commit
8cfabf7e60
|
@ -194,7 +194,7 @@ gimp_gegl_convolve (GeglBuffer *src_buffer,
|
|||
if (mode != GIMP_NORMAL_CONVOL && total[b] < 0.0)
|
||||
total[b] = - total[b];
|
||||
|
||||
total[b] = CLAMP (total[b], 0.0, 1.0);
|
||||
*d++ = CLAMP (total[b], 0.0, 1.0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue