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
27462746
27472747 // Get controller availability
27482748 bool hasHandControllers = false;
2749− HandControllerType handControllerType = Vive;
2750− if (PluginUtils::isViveControllerAvailable()) {
2751− hasHandControllers = true;
2752− handControllerType = Vive;
2753− } else if (PluginUtils::isOculusTouchControllerAvailable()) {
2749+ if (PluginUtils::isViveControllerAvailable() || PluginUtils::isOculusTouchControllerAvailable()) {
27542750 hasHandControllers = true;
2755− handControllerType = Oculus;
27562751 }
27572752
27582753 // Check HMD use (may be technically available without being in use)