1
1

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.
This commit is contained in:
2022-05-23 23:05:54 +02:00
parent 770510915c
commit 8eda776eef

View File

@@ -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");