Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/blender/blenloader/intern/versioning_270.c4
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;
}
}