[gimp] app: fix gegl convolve to actually write back the result when not in alpha weighted mode
- From: Alexia Death <alexiade src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: fix gegl convolve to actually write back the result when not in alpha weighted mode
- Date: Wed, 12 Nov 2014 13:31:14 +0000 (UTC)
commit 8cfabf7e60e8be6c503eaa4d30444e566e0454e5
Author: Alexia Death <alexiadeath gmail com>
Date: Wed Nov 12 15:27:11 2014 +0200
app: fix gegl convolve to actually write back the result when not in alpha weighted mode
app/gegl/gimp-gegl-loops.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/gegl/gimp-gegl-loops.c b/app/gegl/gimp-gegl-loops.c
index 07b96fe..62b4cc1 100644
--- a/app/gegl/gimp-gegl-loops.c
+++ b/app/gegl/gimp-gegl-loops.c
@@ -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);
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]