Fix #123259: VSE alpha over not working with a Mask modifier #123303

Merged
Aras Pranckevicius merged 1 commits from aras_p/blender:vse_fix_alphaover_mask into blender-v4.2-release 2024-06-17 11:43:39 +02:00

1 Commits

Author SHA1 Message Date
8b79551268 Fix #123259: VSE alpha over not working with a Mask modifier
All checks were successful
buildbot/vexp-code-patch-lint Build done.
buildbot/vexp-code-patch-linux-x86_64 Build done.
buildbot/vexp-code-patch-darwin-arm64 Build done.
buildbot/vexp-code-patch-darwin-x86_64 Build done.
buildbot/vexp-code-patch-windows-amd64 Build done.
buildbot/vexp-code-patch-coordinator Build done.
A strip was wrongly deemed to be opaque (and thus strips below it
were skipped from rendering), if the strip content was opaque, but
it gained transparency via presence of a Mask modifier.

While at it, I also noticed that a strip could have been wrongly deemed
opaque when it had a Multiplier < 1.0 with "multiply alpha" option
checked under strip Color settings. So fixed that too.

The whole logic of that factored out into is_opaque_alpha_over function
to make the call site clearer.
2024-06-17 12:24:38 +03:00