diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2016-03-27 03:55:51 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2016-03-27 03:55:51 +0300 |
commit | 52f3f6ffa4137bca84c3d70e0d58b6ebd4ceb9f1 (patch) | |
tree | 4b68b328b1b7d48600e8d6b598cba481c41ddfd9 | |
parent | e14324daa72f21405b697d87c6d2d780873167b3 (diff) |
Fix crash opening some .blend files after recent fix for hidden preview regions.
-rw-r--r-- | source/blender/blenloader/intern/versioning_270.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/versioning_270.c b/source/blender/blenloader/intern/versioning_270.c index 049a8b65dab..adf64d217e1 100644 --- a/source/blender/blenloader/intern/versioning_270.c +++ b/source/blender/blenloader/intern/versioning_270.c @@ -1081,7 +1081,7 @@ void blo_do_versions_270(FileData *fd, Library *UNUSED(lib), Main *main) /* remove preview region for sequencer-only view! */ if (ar->regiontype == RGN_TYPE_PREVIEW) { BKE_area_region_free(NULL, ar); - BLI_freelinkN(&sl->regionbase, ar); + BLI_freelinkN(lb, ar); break; } } |