Fix meta strip has incorrect range when created

Caused by using `startdisp` and `enddisp` to initialize range.
Use handle position instead.
This commit is contained in:
Richard Antalik 2022-06-27 22:04:27 +02:00
parent 67e23b4b29
commit 8eef98710b
1 changed files with 2 additions and 1 deletions

View File

@ -410,7 +410,8 @@ static MetaStack *seq_meta_stack_alloc(const Scene *scene, Sequence *seq_meta)
ms->oldbasep = higher_level_meta ? &higher_level_meta->seqbase : &ed->seqbase;
ms->old_channels = higher_level_meta ? &higher_level_meta->channels : &ed->channels;
copy_v2_v2_int(ms->disp_range, &ms->parseq->startdisp);
ms->disp_range[0] = SEQ_time_left_handle_frame_get(ms->parseq);
ms->disp_range[1] = SEQ_time_right_handle_frame_get(ms->parseq);
return ms;
}