Blender Git Commit Log

Git Commits -> Revision 3fa1de6

August 23, 2021, 09:14 (GMT)
Fix T90737: VSE adding nested strips could have non-unique names

Caused by {rBbbb1936411a5}.

When adding strips via the new SEQ_add_XXX_strip functions, the
`Editing->seqbasep` pointer was passed around.
Following in `seq_add_generic_update` this `seqbasep` pointer was used
to ensure a unique name.
But `seqbasep` is the pointer to the current list of seq's being edited
(**which can be limited to the ones within a meta strip**).

We need unique names across all strips though (since these are used for
RNA paths, FCurves as reported), so now use the scene's `Editing-
>seqbase` (**which is the list of the top-most sequences**) instead.

Unfortunately this might have screwed files to a borked state, not sure
if this could easily be fixed...

Maniphest Tasks: T90737

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

Commit Details:

Full Hash: 3fa1de6ad68b1e3b22c5c30dc039820a1c36c2d4
Parent Commit: f311542
Committed By: Jeroen Bakker
Lines Changed: +2, -2

1 Modified Path:

/source/blender/sequencer/intern/strip_add.c (+2, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021