From 2f2b406047cf34aef208bf2a0e07b6a4e840eaa6 Mon Sep 17 00:00:00 2001 From: Liv Date: Wed, 30 Aug 2017 09:23:33 -0700 Subject: [PATCH] Remove unneeded handcontrollertype code from handle first run checks --- interface/src/Application.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index db28516cb0..233aa4fe81 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -2746,13 +2746,8 @@ void Application::handleSandboxStatus(QNetworkReply* reply) { // Get controller availability bool hasHandControllers = false; - HandControllerType handControllerType = Vive; - if (PluginUtils::isViveControllerAvailable()) { + if (PluginUtils::isViveControllerAvailable() || PluginUtils::isOculusTouchControllerAvailable()) { hasHandControllers = true; - handControllerType = Vive; - } else if (PluginUtils::isOculusTouchControllerAvailable()) { - hasHandControllers = true; - handControllerType = Oculus; } // Check HMD use (may be technically available without being in use)