mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 19:04:32 +02:00
Remove unneeded handcontrollertype code from handle first run checks
This commit is contained in:
parent
59deccaeb5
commit
2f2b406047
1 changed files with 1 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue