mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 20:44:14 +02:00
Reenable disabling of hand controllers
This commit is contained in:
parent
335e91e4a6
commit
3879922e78
1 changed files with 2 additions and 2 deletions
|
@ -41,14 +41,14 @@ ControllerDisplayManager = function() {
|
|||
};
|
||||
|
||||
function updateControllers() {
|
||||
if (HMD.active && true) { //HMD.shouldShowHandControllers()) {
|
||||
if (HMD.active && HMD.shouldShowHandControllers()) {
|
||||
var leftConfig = null;
|
||||
var rightConfig = null;
|
||||
|
||||
if ("Vive" in Controller.Hardware) {
|
||||
leftConfig = VIVE_CONTROLLER_CONFIGURATION_LEFT;
|
||||
rightConfig = VIVE_CONTROLLER_CONFIGURATION_RIGHT;
|
||||
}
|
||||
}
|
||||
|
||||
if ("OculusTouch" in Controller.Hardware) {
|
||||
leftConfig = TOUCH_CONTROLLER_CONFIGURATION_LEFT;
|
||||
|
|
Loading…
Reference in a new issue