Blender Git Loki

Git Commits -> Revision e4de5b4

Revision e4de5b4 by Richard Antalik (master)
December 21, 2021, 04:27 (GMT)
Fix T94280: Crash when splitting meta strip

This happens because in `SEQ_time_update_sequence` function
`SEQ_get_meta_by_seqbase` returns uninitialized value. This isn't nice,
but it shouldn't happen in first place. Problem is, that
`SEQ_edit_strip_split` does move strips into detached `ListBase`, so
other functions can't see them anymore. Detached `ListBase` is used
solely to preserve relationships during duplication.

Move strips to original `ListBase` immediately after duplication and
return `NULL` if `SEQ_get_meta_by_seqbase` can't find meta strip.

Splitting itself can still rely on fact, that number of original and
duplicated strips is same and they are placed next to each other in
exactly same order at the end of original `ListBase`.

Commit Details:

Full Hash: e4de5b4657d364e407db4750a0f5d9a2cf16cc26
Parent Commit: 5457b66
Lines Changed: +23, -19

3 Modified Paths:

/source/blender/sequencer/intern/strip_edit.c (+18, -18) (Diff)
/source/blender/sequencer/intern/strip_time.c (+4, -0) (Diff)
/source/blender/sequencer/intern/utils.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021