diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2017-12-15 19:24:10 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2017-12-15 19:26:23 +0300 |
commit | 5cb70a89e10a83eab689d1de1060c54b3cb3137d (patch) | |
tree | 8095be3cbdcd2e7c102033182505c6cdb04f35a6 /source/blender/blenloader | |
parent | 114013de0d3fbb6b6336eec50ce99fbd49f401f7 (diff) |
Fix failing assert when reading workspace list from workspaces.blend
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/versioning_280.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/versioning_280.c b/source/blender/blenloader/intern/versioning_280.c index cfe7ffe87a2..944ddf1763d 100644 --- a/source/blender/blenloader/intern/versioning_280.c +++ b/source/blender/blenloader/intern/versioning_280.c @@ -562,7 +562,9 @@ void do_versions_after_linking_280(Main *main) } } } - BLI_assert(workspace->view_layer == NULL); + /* While this should apply to most cases, it fails when reading workspaces.blend + * to get its list of workspaces without actually appending any of them. */ +// BLI_assert(workspace->view_layer == NULL); } } |