Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-07-28 15:36:01 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-07-28 15:36:01 +0400
commit3ec212fd71ee5b8aed165d4361f0c9d0f7152b9e (patch)
treebc8b6511ecc33769d9b4a35248c436c335ee28ba /source/blender/blenkernel/intern/mask.c
parentf405d8fa5353cf0c839b44105048251fd4a1a481 (diff)
patch [#32195] MASKS: Canonical Porter Duff algorithm for merge missing.
from Troy Sobotka (sobotka) This gives nicer blending then 'ADD', setting as default for new masks.
Diffstat (limited to 'source/blender/blenkernel/intern/mask.c')
-rw-r--r--source/blender/blenkernel/intern/mask.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/mask.c b/source/blender/blenkernel/intern/mask.c
index df38cc9571f..a088a91000c 100644
--- a/source/blender/blenkernel/intern/mask.c
+++ b/source/blender/blenkernel/intern/mask.c
@@ -156,6 +156,7 @@ MaskLayer *BKE_mask_layer_new(Mask *mask, const char *name)
mask->masklay_tot++;
+ masklay->blend = MASK_BLEND_MERGE;
masklay->alpha = 1.0f;
return masklay;