mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 22:13:12 +02:00
FIxing the mac build
This commit is contained in:
parent
f7aa77253b
commit
f72146c35d
1 changed files with 2 additions and 2 deletions
|
@ -638,10 +638,10 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer) :
|
||||||
// A new controllerInput device used to reflect current values from the application state
|
// A new controllerInput device used to reflect current values from the application state
|
||||||
_applicationStateDevice = std::make_shared<controller::StateController>();
|
_applicationStateDevice = std::make_shared<controller::StateController>();
|
||||||
|
|
||||||
_applicationStateDevice->addInputVariant("InHMD", controller::StateController::ReadLambda([]() -> float {
|
_applicationStateDevice->addInputVariant(QString("InHMD"), controller::StateController::ReadLambda([]() -> float {
|
||||||
return (float)qApp->getAvatarUpdater()->isHMDMode();
|
return (float)qApp->getAvatarUpdater()->isHMDMode();
|
||||||
}));
|
}));
|
||||||
_applicationStateDevice->addInputVariant("ComfortMode", controller::StateController::ReadLambda([]() -> float {
|
_applicationStateDevice->addInputVariant(QString("ComfortMode"), controller::StateController::ReadLambda([]() -> float {
|
||||||
return (float)Menu::getInstance()->isOptionChecked(MenuOption::ComfortMode);
|
return (float)Menu::getInstance()->isOptionChecked(MenuOption::ComfortMode);
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue