diff options
author | Richard Antalik <richardantalik@gmail.com> | 2022-05-24 00:05:54 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2022-05-24 00:27:07 +0300 |
commit | 8eda776eef3823aebb5bc71520831418e6703a1c (patch) | |
tree | 59a0fc880f4e9e6e5b6e138bbff756e024e5f24f /source/blender/sequencer | |
parent | 770510915c7bb059e5103993850a86074af68275 (diff) |
Fix T98057: Adjustment layer blend mode not optimal
Since adjustment layer is meant to replace original image, cross blend
mode is more optimal than alpha over. Same goes for multicam type.
Diffstat (limited to 'source/blender/sequencer')
-rw-r--r-- | source/blender/sequencer/intern/sequencer.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source/blender/sequencer/intern/sequencer.c b/source/blender/sequencer/intern/sequencer.c index faa527786fd..ad57412034a 100644 --- a/source/blender/sequencer/intern/sequencer.c +++ b/source/blender/sequencer/intern/sequencer.c @@ -129,7 +129,13 @@ Sequence *SEQ_sequence_alloc(ListBase *lb, int timeline_frame, int machine, int seq->pitch = 1.0f; seq->scene_sound = NULL; seq->type = type; - seq->blend_mode = SEQ_TYPE_ALPHAOVER; + + if (seq->type == SEQ_TYPE_ADJUSTMENT) { + seq->blend_mode = SEQ_TYPE_CROSS; + } + else { + seq->blend_mode = SEQ_TYPE_ALPHAOVER; + } seq->strip = seq_strip_alloc(type); seq->stereo3d_format = MEM_callocN(sizeof(Stereo3dFormat), "Sequence Stereo Format"); |