mirror of
https://github.com/hanetzer/sdraw_mods_cvr.git
synced 2025-09-04 02:49:23 +00:00
Parameters fetch fix
Restore to default settings
This commit is contained in:
parent
8e6f739589
commit
ee55c60ed5
4 changed files with 16 additions and 4 deletions
|
@ -73,6 +73,9 @@ namespace ml_fpt
|
|||
PlayerSetup.Instance._trackerManager.trackers[m_hipsTrackerIndex].ShowLine(false);
|
||||
CVR_InteractableManager.enableInteractions = true;
|
||||
|
||||
if(PlayerSetup.Instance._avatar.GetComponent<ABI.CCK.Components.CVRAvatar>().avatarUsesAdvancedSettings)
|
||||
PlayerSetup.Instance.LoadCurrentAvatarSettingsDefault();
|
||||
|
||||
Reset();
|
||||
|
||||
ShowHudNotification("Calibration completed");
|
||||
|
@ -141,6 +144,9 @@ namespace ml_fpt
|
|||
{
|
||||
if(m_inCalibration)
|
||||
{
|
||||
m_indexIk.calibrated = true;
|
||||
m_indexIk.enabled = true;
|
||||
|
||||
m_ikCalibrator.leftHandModel.SetActive(false);
|
||||
m_ikCalibrator.rightHandModel.SetActive(false);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue