diff options
author | Dalai Felinto <dalai@blender.org> | 2021-09-28 11:33:42 +0300 |
---|---|---|
committer | Dalai Felinto <dalai@blender.org> | 2021-09-28 11:44:39 +0300 |
commit | e5ff9f3615dec3ad8701e404bb4f57e758f71032 (patch) | |
tree | 8e12b87ad8560d1193bdc0988cb0fe34daba09c6 /source/blender/blenkernel | |
parent | a64782b1334118d1bd98c78f665e7e0bfd232076 (diff) |
Cleanup: Move VSE channels check into own util function
Differential Revision: https://developer.blender.org/D12661
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/scene.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/scene.c b/source/blender/blenkernel/intern/scene.c index 1dd7fcf1d1a..03f19cef94e 100644 --- a/source/blender/blenkernel/intern/scene.c +++ b/source/blender/blenkernel/intern/scene.c @@ -997,7 +997,7 @@ static void link_recurs_seq(BlendDataReader *reader, ListBase *lb) LISTBASE_FOREACH_MUTABLE (Sequence *, seq, lb) { /* Sanity check. */ - if ((seq->machine < 1) || (seq->machine > MAXSEQ)) { + if (!SEQ_valid_strip_channel(seq)) { BLI_freelinkN(lb, seq); BLO_read_data_reports(reader)->count.vse_strips_skipped++; } |