[gimp/pippin/linear-is-the-new-black] app: fix OVERLAY mode so it gets fed linear data
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/pippin/linear-is-the-new-black] app: fix OVERLAY mode so it gets fed linear data
- Date: Mon, 23 Jan 2017 17:04:27 +0000 (UTC)
commit 9bbddbdec5cef73f96aa441875230173ea0e803b
Author: Øyvind Kolås <pippin gimp org>
Date: Mon Jan 23 18:04:07 2017 +0100
app: fix OVERLAY mode so it gets fed linear data
app/core/gimp-layer-modes.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/app/core/gimp-layer-modes.c b/app/core/gimp-layer-modes.c
index f93d30d..488e493 100644
--- a/app/core/gimp-layer-modes.c
+++ b/app/core/gimp-layer-modes.c
@@ -97,8 +97,9 @@ gimp_layer_mode_is_linear (GimpLayerMode mode)
return FALSE;
case GIMP_LAYER_MODE_COLOR_ERASE:
- case GIMP_LAYER_MODE_OVERLAY:
return FALSE;
+ case GIMP_LAYER_MODE_OVERLAY:
+ return TRUE;
case GIMP_LAYER_MODE_LCH_HUE:
case GIMP_LAYER_MODE_LCH_CHROMA:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]