Fix T84642: Reassign effect-strip ignores animdata
When reassigning an effect strip to another sequence, any animation data in the effect strip will not be offset like expected. The fix calls `SEQ_offset_animdata` to offset the animation data after the seqence has been moved. Reviewed By: ISS Maniphest Tasks: T84642 Differential Revision: https://developer.blender.org/D10096
This commit is contained in:
parent
a86bb2594f
commit
a9203e25a2
Notes:
blender-bot
2023-02-14 07:18:54 +01:00
Referenced by issue #84642, VSE: Reassigning transform strip with keyframed properties does not move keyframes
|
@ -1255,7 +1255,9 @@ static int sequencer_reassign_inputs_exec(bContext *C, wmOperator *op)
|
|||
last_seq->seq2 = seq2;
|
||||
last_seq->seq3 = seq3;
|
||||
|
||||
int old_start = last_seq->start;
|
||||
SEQ_relations_update_changed_seq_and_deps(scene, last_seq, 1, 1);
|
||||
SEQ_offset_animdata(scene, last_seq, (last_seq->start - old_start));
|
||||
|
||||
WM_event_add_notifier(C, NC_SCENE | ND_SEQUENCER, scene);
|
||||
|
||||
|
|
Loading…
Reference in New Issue