[Bf-blender-cvs] [4ea6b4ba847] blender-v3.0-release: Fix crash in VSE versioning code from recent commit

Philipp Oeser noreply at git.blender.org
Fri Nov 19 10:08:44 CET 2021


Commit: 4ea6b4ba8475f4f6bb02799f7ef8cd261ecb4398
Author: Philipp Oeser
Date:   Fri Nov 19 10:05:18 2021 +0100
Branches: blender-v3.0-release
https://developer.blender.org/rB4ea6b4ba8475f4f6bb02799f7ef8cd261ecb4398

Fix crash in VSE versioning code from recent commit

Caused by {rB4d09a692e22a}.
Greenlit by @sergey in chat.

===================================================================

M	source/blender/blenloader/intern/versioning_300.c

===================================================================

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);
+      }
     }
   }
 }



More information about the Bf-blender-cvs mailing list