Pārlūkot izejas kodu

fix old copypaste error

Trevor Baron 7 gadi atpakaļ
vecāks
revīzija
f42d688ca8
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/Cameras/VR/babylon.webVRCamera.ts

+ 1 - 1
src/Cameras/VR/babylon.webVRCamera.ts

@@ -649,7 +649,7 @@ module BABYLON {
                         this._rightController = null;
                     }
                     if (webVrController.hand === "left") {
-                        this._rightController = null;
+                        this._leftController = null;
                     }
                     const controllerIndex = this.controllers.indexOf(webVrController);
                     if (controllerIndex !== -1) {