Blender Git Loki

Git Commits -> Revision 877ba6b

Revision 877ba6b by Richard Antalik (master)
October 6, 2021, 22:10 (GMT)
Fix T91972: Meta changes length when adding strip

`SequencesMeta.new_movie()` API function caused meta strip to change
length. Similar issue has been fixed in transform code by checking
if `MetaStack` exists. `MetaStack` is not used when changing data in
python.

Provide `seqbase` to `SEQ_time_update_sequence()` so the function can
check if change happens inside of meta strip.

This patch also merges `seq_time_update_sequence_bounds()` into
`SEQ_time_update_sequence()`. This is because same issue applies for
both functions and it is confusing to have more time update
functions.re if this will lead anywhere.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D12763

Commit Details:

Full Hash: 877ba6b251bb5af673d023b243fd6da03e4a0fab
Parent Commit: 306e9bf
Lines Changed: +130, -77

14 Modified Paths:

/source/blender/editors/space_sequencer/sequencer_add.c (+1, -1) (Diff)
/source/blender/editors/space_sequencer/sequencer_edit.c (+35, -28) (Diff)
/source/blender/editors/transform/transform_convert_sequencer.c (+12, -7) (Diff)
/source/blender/makesrna/intern/rna_sequencer.c (+9, -4) (Diff)
/source/blender/makesrna/intern/rna_sequencer_api.c (+13, -5) (Diff)
/source/blender/sequencer/intern/sound.c (+2, -2) (Diff)
/source/blender/sequencer/intern/strip_add.c (+7, -4) (Diff)
/source/blender/sequencer/intern/strip_edit.c (+7, -4) (Diff)
/source/blender/sequencer/intern/strip_relations.c (+2, -1) (Diff)
/source/blender/sequencer/intern/strip_time.c (+16, -13) (Diff)
/source/blender/sequencer/intern/strip_transform.c (+7, -6) (Diff)
/source/blender/sequencer/intern/utils.c (+15, -0) (Diff)
/source/blender/sequencer/intern/utils.h (+3, -0) (Diff)
/source/blender/sequencer/SEQ_time.h (+1, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021