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:
authorDalai Felinto <dalai@blender.org>2021-09-27 16:05:23 +0300
committerDalai Felinto <dalai@blender.org>2021-09-28 11:23:13 +0300
commita64782b1334118d1bd98c78f665e7e0bfd232076 (patch)
treef140b883ca1d2229a03e3e860877100bfe4568aa /source/blender/blenloader
parent7cd43a9d2887cffa8b2c24aa0d51f1e87a70e701 (diff)
VSE: Implement sanity check for files with more channels than supported
This is a follow up to 8fecc2a8525467ee2fbbaae16ddbbc10b3050d46. This makes sure future .blend files that have more channels than the limit won't break Blender. It can be backported to LTS. This is part of https://developer.blender.org/D12645 Differential Revision: https://developer.blender.org/D12648
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/BLO_readfile.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenloader/BLO_readfile.h b/source/blender/blenloader/BLO_readfile.h
index 9093c6fd85b..c6637b17d47 100644
--- a/source/blender/blenloader/BLO_readfile.h
+++ b/source/blender/blenloader/BLO_readfile.h
@@ -121,6 +121,8 @@ typedef struct BlendFileReadReport {
int proxies_to_lib_overrides_success;
/* Number of proxies that failed to convert to library overrides. */
int proxies_to_lib_overrides_failures;
+ /* Number of VSE strips that were not read because were in non-supported channels. */
+ int vse_strips_skipped;
} count;
/* Number of libraries which had overrides that needed to be resynced, and a single linked list