mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 08:49:05 +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
|
// Get controller availability
|
||||||
bool hasHandControllers = false;
|
bool hasHandControllers = false;
|
||||||
HandControllerType handControllerType = Vive;
|
if (PluginUtils::isViveControllerAvailable() || PluginUtils::isOculusTouchControllerAvailable()) {
|
||||||
if (PluginUtils::isViveControllerAvailable()) {
|
|
||||||
hasHandControllers = true;
|
hasHandControllers = true;
|
||||||
handControllerType = Vive;
|
|
||||||
} else if (PluginUtils::isOculusTouchControllerAvailable()) {
|
|
||||||
hasHandControllers = true;
|
|
||||||
handControllerType = Oculus;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check HMD use (may be technically available without being in use)
|
// Check HMD use (may be technically available without being in use)
|
||||||
|
|
Loading…
Reference in a new issue