forked from bartvdbraak/blender
Fix View3D orientation index initial value
Would assert after transform
This commit is contained in:
parent
7beb173d70
commit
cb23927c9b
@ -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->custom_orientation_index = v3d->twmode - V3D_MANIP_CUSTOM;
|
||||||
v3d->twmode = V3D_MANIP_CUSTOM;
|
v3d->twmode = V3D_MANIP_CUSTOM;
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
v3d->custom_orientation_index = -1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user