mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 15:32:40 +02:00
Merge pull request #10527 from davidkelly/dk/4756
Should fix crash in general setting dialog
This commit is contained in:
commit
b46ff07d65
1 changed files with 4 additions and 1 deletions
|
@ -163,12 +163,15 @@ void ViveControllerManager::pluginUpdate(float deltaTime, const controller::Inpu
|
|||
}
|
||||
|
||||
ViveControllerManager::InputDevice::InputDevice(vr::IVRSystem*& system) : controller::InputDevice("Vive"), _system(system) {
|
||||
createPreferences();
|
||||
|
||||
_configStringMap[Config::Auto] = QString("Auto");
|
||||
_configStringMap[Config::Feet] = QString("Feet");
|
||||
_configStringMap[Config::FeetAndHips] = QString("FeetAndHips");
|
||||
_configStringMap[Config::FeetHipsAndChest] = QString("FeetHipsAndChest");
|
||||
|
||||
if (openVrSupported()) {
|
||||
createPreferences();
|
||||
}
|
||||
}
|
||||
|
||||
void ViveControllerManager::InputDevice::update(float deltaTime, const controller::InputCalibrationData& inputCalibrationData) {
|
||||
|
|
Loading…
Reference in a new issue