mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 08:37:19 +02:00
Add send-to-tutorial logic for Oculus Touch
This commit is contained in:
parent
efbf55c0d7
commit
c953ceb58b
1 changed files with 1 additions and 1 deletions
|
@ -1392,7 +1392,7 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo
|
||||||
bool hasTutorialContent = contentVersion >= 1;
|
bool hasTutorialContent = contentVersion >= 1;
|
||||||
|
|
||||||
Setting::Handle<bool> firstRun { Settings::firstRun, true };
|
Setting::Handle<bool> firstRun { Settings::firstRun, true };
|
||||||
bool hasHMDAndHandControllers = PluginUtils::isHMDAvailable("OpenVR (Vive)") && PluginUtils::isHandControllerAvailable();
|
bool hasHMDAndHandControllers = PluginUtils::isHMDAvailable() && PluginUtils::isHandControllerAvailable();
|
||||||
Setting::Handle<bool> tutorialComplete { "tutorialComplete", false };
|
Setting::Handle<bool> tutorialComplete { "tutorialComplete", false };
|
||||||
|
|
||||||
bool shouldGoToTutorial = hasHMDAndHandControllers && hasTutorialContent && !tutorialComplete.get();
|
bool shouldGoToTutorial = hasHMDAndHandControllers && hasTutorialContent && !tutorialComplete.get();
|
||||||
|
|
Loading…
Reference in a new issue