diff options
Diffstat (limited to 'source/blender/blenloader/intern/versioning_280.c')
-rw-r--r-- | source/blender/blenloader/intern/versioning_280.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenloader/intern/versioning_280.c b/source/blender/blenloader/intern/versioning_280.c index 254259b1542..52d1269dc1b 100644 --- a/source/blender/blenloader/intern/versioning_280.c +++ b/source/blender/blenloader/intern/versioning_280.c @@ -2852,9 +2852,9 @@ void blo_do_versions_280(FileData *fd, Library *UNUSED(lib), Main *bmain) navigation_region = MEM_callocN(sizeof(ARegion), "userpref navigation-region do_versions"); - BLI_insertlinkbefore(regionbase, - main_region, - navigation_region); /* order matters, addhead not addtail! */ + /* Order matters, addhead not addtail! */ + BLI_insertlinkbefore(regionbase, main_region, navigation_region); + navigation_region->regiontype = RGN_TYPE_NAV_BAR; navigation_region->alignment = RGN_ALIGN_LEFT; } |