diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2016-03-27 14:17:10 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2016-03-27 14:20:30 +0300 |
commit | 9c2704c169635ac6ef21d257e344f5f8f0149729 (patch) | |
tree | 6518913018da53fa0f0d66d6b18429fa9e095804 /source | |
parent | ce71e2e78965b85b122b995f358cbfd26ce3622b (diff) |
Fix changing view in default video editing layout broken
Own mistake in 802bb422671
Apparently we only store one preview region for all views, didn't know that (makes sense though).
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenloader/intern/versioning_270.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenloader/intern/versioning_270.c b/source/blender/blenloader/intern/versioning_270.c index adf64d217e1..7d30ca89822 100644 --- a/source/blender/blenloader/intern/versioning_270.c +++ b/source/blender/blenloader/intern/versioning_270.c @@ -1080,8 +1080,8 @@ void blo_do_versions_270(FileData *fd, Library *UNUSED(lib), Main *main) for (ARegion *ar = lb->first; ar; ar = ar->next) { /* remove preview region for sequencer-only view! */ if (ar->regiontype == RGN_TYPE_PREVIEW) { - BKE_area_region_free(NULL, ar); - BLI_freelinkN(lb, ar); + ar->flag |= RGN_FLAG_HIDDEN; + ar->alignment = RGN_ALIGN_NONE; break; } } |