Reenable disabling of hand controllers

This commit is contained in:
Ryan Huffman 2016-12-09 16:15:12 -08:00
parent cde558fb94
commit 2b88935812

View file

@ -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;