Fix T91190: Remove gaps operator not working

Caused by mistake in f49d438ced - `SEQ_query_all_strips()` is not
meant to be recursive.
This commit is contained in:
Richard Antalik 2021-10-08 09:29:15 +02:00
parent 741fb0d6c9
commit 6c11733dfb
Notes: blender-bot 2023-02-14 03:21:27 +01:00
Referenced by issue #91190, VSE: Out-of-bounds metastrip contents block operation of "Remove Gaps" function on main timeline
1 changed files with 3 additions and 1 deletions

View File

@ -322,7 +322,9 @@ SeqCollection *SEQ_query_all_strips_recursive(ListBase *seqbase)
SeqCollection *SEQ_query_all_strips(ListBase *seqbase)
{
SeqCollection *collection = SEQ_collection_create(__func__);
query_all_strips_recursive(seqbase, collection);
LISTBASE_FOREACH (Sequence *, seq, seqbase) {
SEQ_collection_append_strip(seq, collection);
}
return collection;
}