Reenable disabling of hand controllers

This commit is contained in:
Ryan Huffman 2016-12-09 16:15:12 -08:00 committed by Seth Alves
parent 335e91e4a6
commit 3879922e78

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;