[gimp] app: remove clamping in multiply mode
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: remove clamping in multiply mode
- Date: Sun, 15 Jan 2017 00:34:01 +0000 (UTC)
commit 315ccc7f823aff3c62b9314bbde6852e715578f5
Author: Øyvind Kolås <pippin gimp org>
Date: Sun Jan 15 00:51:56 2017 +0100
app: remove clamping in multiply mode
app/operations/layer-modes/gimpoperationmultiply.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/app/operations/layer-modes/gimpoperationmultiply.c
b/app/operations/layer-modes/gimpoperationmultiply.c
index d313754..4c77376 100644
--- a/app/operations/layer-modes/gimpoperationmultiply.c
+++ b/app/operations/layer-modes/gimpoperationmultiply.c
@@ -108,7 +108,6 @@ gimp_operation_multiply_process_pixels (gfloat *in,
{
gfloat comp = layer[b] * in[b];
out[b] = comp * comp_alpha + in[b] * (1.0 - comp_alpha);
- out[b] = CLAMP (out[b], 0.0, 1.0);
}
}
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]