[gimp] app: make compositing of dodge blend mode consistent with rest
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: make compositing of dodge blend mode consistent with rest
- Date: Fri, 13 Jan 2017 13:27:16 +0000 (UTC)
commit 954030fab62cb8cd6f05965ef4111b73673e9bc6
Author: Øyvind Kolås <pippin gimp org>
Date: Fri Jan 13 14:25:46 2017 +0100
app: make compositing of dodge blend mode consistent with rest
app/operations/layer-modes/gimpoperationdodge.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/app/operations/layer-modes/gimpoperationdodge.c b/app/operations/layer-modes/gimpoperationdodge.c
index adf568e..57488ff 100644
--- a/app/operations/layer-modes/gimpoperationdodge.c
+++ b/app/operations/layer-modes/gimpoperationdodge.c
@@ -96,7 +96,8 @@ gimp_operation_dodge_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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]