History

Remove unneeded handcontrollertype code from handle first run checks

Liv committed 9 years ago

Commit 2f2b4061 parent 59decca1 file · +1 −6Browse files

Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all

Unified · Split

interface/src/Application.cpp+1−6
@@ -2746,13 +2746,8 @@ void Application::handleSandboxStatus(QNetworkReply* reply) { · 2745 unmodified lines
2746 2746
2747 // Get controller availability2747 // Get controller availability
2748 bool hasHandControllers = false;2748 bool hasHandControllers = false;
2749 HandControllerType handControllerType = Vive;2749 if (PluginUtils::isViveControllerAvailable() || PluginUtils::isOculusTouchControllerAvailable()) {
2750 if (PluginUtils::isViveControllerAvailable()) {
2751 hasHandControllers = true;
2752 handControllerType = Vive;
2753 } else if (PluginUtils::isOculusTouchControllerAvailable()) {
2754 hasHandControllers = true;2750 hasHandControllers = true;
2755 handControllerType = Oculus;
2756 }2751 }
2757 2752
2758 // Check HMD use (may be technically available without being in use)2753 // Check HMD use (may be technically available without being in use)