[gimp/gimp-2-10] app: mark REPLACE and PASS_THROUGH modes as trivial
- From: Ell <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] app: mark REPLACE and PASS_THROUGH modes as trivial
- Date: Mon, 3 Dec 2018 14:54:48 +0000 (UTC)
commit 03a4fafe30ef354b6653fb9bea99610f8c83d6fd
Author: Ell <ell_se yahoo com>
Date: Mon Dec 3 09:51:15 2018 -0500
app: mark REPLACE and PASS_THROUGH modes as trivial
(cherry picked from commit f508ec8b894bf1cac4b632667581e28de7c17ad1)
app/operations/layer-modes/gimp-layer-modes.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/app/operations/layer-modes/gimp-layer-modes.c b/app/operations/layer-modes/gimp-layer-modes.c
index d113ba7488..a6f198dc1c 100644
--- a/app/operations/layer-modes/gimp-layer-modes.c
+++ b/app/operations/layer-modes/gimp-layer-modes.c
@@ -813,8 +813,9 @@ static const GimpLayerModeInfo layer_mode_infos[] =
{ GIMP_LAYER_MODE_PASS_THROUGH,
.op_name = "gimp:pass-through",
- .flags = GIMP_LAYER_MODE_FLAG_BLEND_SPACE_IMMUTABLE |
- GIMP_LAYER_MODE_FLAG_COMPOSITE_MODE_IMMUTABLE,
+ .flags = GIMP_LAYER_MODE_FLAG_BLEND_SPACE_IMMUTABLE |
+ GIMP_LAYER_MODE_FLAG_COMPOSITE_MODE_IMMUTABLE |
+ GIMP_LAYER_MODE_FLAG_TRIVIAL,
.context = GIMP_LAYER_MODE_CONTEXT_GROUP,
.composite_mode = GIMP_LAYER_COMPOSITE_UNION,
.composite_space = GIMP_LAYER_COLOR_SPACE_RGB_LINEAR
@@ -823,7 +824,8 @@ static const GimpLayerModeInfo layer_mode_infos[] =
{ GIMP_LAYER_MODE_REPLACE,
.op_name = "gimp:replace",
- .flags = GIMP_LAYER_MODE_FLAG_BLEND_SPACE_IMMUTABLE,
+ .flags = GIMP_LAYER_MODE_FLAG_BLEND_SPACE_IMMUTABLE |
+ GIMP_LAYER_MODE_FLAG_TRIVIAL,
.context = GIMP_LAYER_MODE_CONTEXT_FADE,
.paint_composite_mode = GIMP_LAYER_COMPOSITE_UNION,
.composite_mode = GIMP_LAYER_COMPOSITE_UNION,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]