Fix crash opening some .blend files after recent fix for hidden preview regions.
This commit is contained in:
parent
e14324daa7
commit
52f3f6ffa4
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user