Fix T46657: VSE: Strip length jumps to a negative number.

This commit is contained in:
Bastien Montagne 2016-01-22 12:09:31 +01:00
parent 1d88773b1f
commit ac7c3e048b
Notes: blender-bot 2023-02-14 08:28:45 +01:00
Referenced by issue #46657, VSE: Strip length jumps to a negative number
1 changed files with 1 additions and 1 deletions

View File

@ -282,7 +282,7 @@ static void rna_Sequence_frame_length_set(PointerRNA *ptr, int value)
Sequence *seq = (Sequence *)ptr->data;
Scene *scene = (Scene *)ptr->id.data;
BKE_sequence_tx_set_final_right(seq, seq->start + value);
BKE_sequence_tx_set_final_right(seq, BKE_sequence_tx_get_final_left(seq, false) + value);
do_sequence_frame_change_update(scene, seq);
}