[gimp] app: make replace mode request linear data
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: make replace mode request linear data
- Date: Sun, 22 Jan 2017 17:47:52 +0000 (UTC)
commit 83374f490af099f5a45ec40255376ca54322a6de
Author: Øyvind Kolås <pippin gimp org>
Date: Sun Jan 22 18:46:16 2017 +0100
app: make replace mode request linear data
app/core/gimp-layer-modes.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/core/gimp-layer-modes.c b/app/core/gimp-layer-modes.c
index 6453e44..10236e8 100644
--- a/app/core/gimp-layer-modes.c
+++ b/app/core/gimp-layer-modes.c
@@ -151,7 +151,7 @@ gimp_layer_mode_is_linear (GimpLayerMode mode)
return TRUE;
case GIMP_LAYER_MODE_REPLACE:
- return FALSE;
+ return TRUE;
case GIMP_LAYER_MODE_ANTI_ERASE:
return TRUE;
@@ -250,7 +250,7 @@ gimp_layer_mode_get_blend_space (GimpLayerMode mode)
return GIMP_LAYER_COLOR_SPACE_RGB_LINEAR;
case GIMP_LAYER_MODE_REPLACE:
- return GIMP_LAYER_COLOR_SPACE_RGB_PERCEPTUAL;
+ return GIMP_LAYER_COLOR_SPACE_RGB_LINEAR;
case GIMP_LAYER_MODE_ANTI_ERASE:
return GIMP_LAYER_COLOR_SPACE_RGB_LINEAR;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]