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:
authorPhilipp Oeser <info@graphics-engineer.com>2021-11-19 12:05:18 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2021-11-19 12:05:18 +0300
commit4ea6b4ba8475f4f6bb02799f7ef8cd261ecb4398 (patch)
tree79567df910c50ec0061a0477bde7161c52d2fbd6 /source/blender/blenloader
parent4d09a692e22add0a8341916d2d79a594bff076a3 (diff)
Fix crash in VSE versioning code from recent commit
Caused by {rB4d09a692e22a}. Greenlit by @sergey in chat.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/versioning_300.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/versioning_300.c b/source/blender/blenloader/intern/versioning_300.c
index f8a46f205d4..98264883507 100644
--- a/source/blender/blenloader/intern/versioning_300.c
+++ b/source/blender/blenloader/intern/versioning_300.c
@@ -2210,7 +2210,9 @@ void blo_do_versions_300(FileData *fd, Library *UNUSED(lib), Main *bmain)
* It was possible to save .blend file with incorrect state of meta strip
* range. The root cause is expected to be fixed, but need to ensure files
* with invalid meta strip range are corrected. */
- SEQ_for_each_callback(&ed->seqbase, version_fix_seq_meta_range, scene);
+ if (ed != NULL) {
+ SEQ_for_each_callback(&ed->seqbase, version_fix_seq_meta_range, scene);
+ }
}
}
}