Add send-to-tutorial logic for Oculus Touch

This commit is contained in:
Ryan Huffman 2016-12-09 15:12:44 -08:00
parent efbf55c0d7
commit c953ceb58b

View file

@ -1392,7 +1392,7 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo
bool hasTutorialContent = contentVersion >= 1;
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 };
bool shouldGoToTutorial = hasHMDAndHandControllers && hasTutorialContent && !tutorialComplete.get();