[Bf-blender-cvs] [a5e38998536] master: VSE: Fix strip with mask modifier not blending
Richard Antalik
noreply at git.blender.org
Mon Dec 6 17:02:14 CET 2021
Commit: a5e389985361618a121814ae9c6c9f13736cdf19
Author: Richard Antalik
Date: Mon Dec 6 15:20:15 2021 +0100
Branches: master
https://developer.blender.org/rBa5e389985361618a121814ae9c6c9f13736cdf19
VSE: Fix strip with mask modifier not blending
Set `ibuf->planes` to `R_IMF_PLANES_RGBA` because mask modifier adds
transparent areas to image.
===================================================================
M source/blender/sequencer/intern/modifier.c
===================================================================
diff --git a/source/blender/sequencer/intern/modifier.c b/source/blender/sequencer/intern/modifier.c
index 1a63f4c4655..00ae88232fd 100644
--- a/source/blender/sequencer/intern/modifier.c
+++ b/source/blender/sequencer/intern/modifier.c
@@ -1161,6 +1161,7 @@ static void maskmodifier_apply(struct SequenceModifierData *UNUSED(smd), ImBuf *
// SequencerMaskModifierData *bcmd = (SequencerMaskModifierData *)smd;
modifier_apply_threaded(ibuf, mask, maskmodifier_apply_threaded, NULL);
+ ibuf->planes = R_IMF_PLANES_RGBA;
}
static SequenceModifierTypeInfo seqModifier_Mask = {
More information about the Bf-blender-cvs
mailing list