Fix T102328: Incorrect strip state after copying

Effect strip start position was translated twice. This is caused by
recent refactoring, see 7afcfe111a.

Don't change `seq->start` of attached effect strips during translation
and only rely on `seq_time_update_effects_strip_range` function.
This commit is contained in:
Richard Antalik 2022-11-08 19:10:26 +01:00
parent 66dda2b902
commit 5925b1821a
Notes: blender-bot 2023-02-14 06:42:54 +01:00
Referenced by issue #102328, Regression: VSE - Strips with crossfade - the crossfade is not copied correctly - "should never happen"
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ void SEQ_transform_translate_sequence(Scene *evil_scene, Sequence *seq, int delt
/* Move meta start/end points. */
seq_time_translate_handles(evil_scene, seq, delta);
}
else { /* All other strip types. */
else if (seq->seq1 == NULL && seq->seq2 == NULL) { /* All other strip types. */
seq->start += delta;
/* Only to make files usable in older versions. */
seq->startdisp = SEQ_time_left_handle_frame_get(evil_scene, seq);