app: fix gegl convolve to actually write back the result when not in alpha weighted mode

This commit is contained in:
Alexia Death 2014-11-12 15:27:11 +02:00
parent 91973bfef8
commit 8cfabf7e60
1 changed files with 1 additions and 1 deletions

View File

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