Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Antalik <richardantalik@gmail.com>2021-10-08 10:29:15 +0300
committerRichard Antalik <richardantalik@gmail.com>2021-10-08 10:30:07 +0300
commit6c11733dfbce897fa390465caa5de4c5b0e1904d (patch)
tree715490e1d7fc97d432fe36f05342d3e8f309b2dd /source/blender/sequencer/intern
parent741fb0d6c9a790b13c622e10ff6ef7ece48784eb (diff)
Fix T91190: Remove gaps operator not working
Caused by mistake in f49d438ced7c - `SEQ_query_all_strips()` is not meant to be recursive.
Diffstat (limited to 'source/blender/sequencer/intern')
-rw-r--r--source/blender/sequencer/intern/iterator.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/sequencer/intern/iterator.c b/source/blender/sequencer/intern/iterator.c
index e83d158881e..a12a5cbdc61 100644
--- a/source/blender/sequencer/intern/iterator.c
+++ b/source/blender/sequencer/intern/iterator.c
@@ -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;
}