mirror of
https://github.com/overte-org/overte.git
synced 2025-08-18 05:43:00 +02:00
Remove unneeded handcontrollertype code from handle first run checks
This commit is contained in:
parent
7ee2ac736e
commit
758fc53882
1 changed files with 1 additions and 6 deletions
|
@ -2803,13 +2803,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