diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2021-11-19 12:05:18 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2021-11-19 12:05:18 +0300 |
commit | 4ea6b4ba8475f4f6bb02799f7ef8cd261ecb4398 (patch) | |
tree | 79567df910c50ec0061a0477bde7161c52d2fbd6 /source/blender/blenloader/intern | |
parent | 4d09a692e22add0a8341916d2d79a594bff076a3 (diff) |
Fix crash in VSE versioning code from recent commit
Caused by {rB4d09a692e22a}.
Greenlit by @sergey in chat.
Diffstat (limited to 'source/blender/blenloader/intern')
-rw-r--r-- | source/blender/blenloader/intern/versioning_300.c | 4 |
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); + } } } } |