Fix chaperone updates not updating chaperone warnings reference (#154)
This commit is contained in:
@@ -961,6 +961,7 @@ void MoveCenterTabController::updateSeatedResetData()
|
|||||||
emit offsetYChanged( m_offsetY );
|
emit offsetYChanged( m_offsetY );
|
||||||
emit offsetZChanged( m_offsetZ );
|
emit offsetZChanged( m_offsetZ );
|
||||||
emit rotationChanged( m_rotation );
|
emit rotationChanged( m_rotation );
|
||||||
|
parent->chaperoneUtils().loadChaperoneData( false );
|
||||||
}
|
}
|
||||||
|
|
||||||
void MoveCenterTabController::updateChaperoneResetData()
|
void MoveCenterTabController::updateChaperoneResetData()
|
||||||
@@ -1023,8 +1024,7 @@ void MoveCenterTabController::updateChaperoneResetData()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// update the working set preview for potential Oculus and WMR issues
|
parent->chaperoneUtils().loadChaperoneData( false );
|
||||||
// vr::VRChaperoneSetup()->ShowWorkingSetPreview();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void MoveCenterTabController::applyChaperoneResetData()
|
void MoveCenterTabController::applyChaperoneResetData()
|
||||||
@@ -1042,9 +1042,8 @@ void MoveCenterTabController::applyChaperoneResetData()
|
|||||||
&m_seatedCenterForReset );
|
&m_seatedCenterForReset );
|
||||||
|
|
||||||
vr::VRChaperoneSetup()->CommitWorkingCopy( vr::EChaperoneConfigFile_Live );
|
vr::VRChaperoneSetup()->CommitWorkingCopy( vr::EChaperoneConfigFile_Live );
|
||||||
// update the working set preview otherwise Oculus and WMR users may not see
|
|
||||||
// results of the reset
|
parent->chaperoneUtils().loadChaperoneData( false );
|
||||||
// vr::VRChaperoneSetup()->ShowWorkingSetPreview();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// START of drag bindings:
|
// START of drag bindings:
|
||||||
|
|||||||
Reference in New Issue
Block a user