diff --git a/source/blender/blenloader/intern/versioning_280.c b/source/blender/blenloader/intern/versioning_280.c index 13da6e5d407..fa03725fa6f 100644 --- a/source/blender/blenloader/intern/versioning_280.c +++ b/source/blender/blenloader/intern/versioning_280.c @@ -390,6 +390,9 @@ void blo_do_versions_280(FileData *fd, Library *UNUSED(lib), Main *main) v3d->custom_orientation_index = v3d->twmode - V3D_MANIP_CUSTOM; v3d->twmode = V3D_MANIP_CUSTOM; } + else { + v3d->custom_orientation_index = -1; + } } } }