Jelajahi Sumber

fix old copypaste error

Trevor Baron 7 tahun lalu
induk
melakukan
f42d688ca8
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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) {