VSE: Inherit blend mode with single input effects
It is very likely, that after applying effect like transform or speed on strip with certain blending, user would want to change effect blending to match original strip. Feature suggested on RCS: https://blender.community/c/rightclickselect/HVgbbc/ Reviewed By: ISS Differential Revision: https://developer.blender.org/D10156
This commit is contained in:
parent
6d21703e89
commit
d6bbcc4f66
|
@ -1069,6 +1069,9 @@ static int sequencer_add_effect_strip_exec(bContext *C, wmOperator *op)
|
|||
else if (seq->type == SEQ_TYPE_TEXT) {
|
||||
seq->blend_mode = SEQ_TYPE_ALPHAOVER;
|
||||
}
|
||||
else if (SEQ_effect_get_num_inputs(seq->type) == 1) {
|
||||
seq->blend_mode = seq1->blend_mode;
|
||||
}
|
||||
|
||||
/* Set channel. If unset, use lowest free one above strips. */
|
||||
if (!RNA_struct_property_is_set(op->ptr, "channel")) {
|
||||
|
|
Loading…
Reference in New Issue