Browse Source

Fixed typo in controllers.

Atulya Ravishankar 7 years ago
parent
commit
4180903314
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/Cameras/VR/babylon.vrExperienceHelper.ts

+ 4 - 4
src/Cameras/VR/babylon.vrExperienceHelper.ts

@@ -911,11 +911,11 @@ module BABYLON {
                 if (this._interactionsEnabled) {
                     this._scene.unregisterBeforeRender(this.beforeRender);
                     this._cameraGazer._gazeTracker.isVisible = false;
-                    if (this.leftController) {
-                        this.leftController._gazeTracker.isVisible = false;
+                    if (this._leftController) {
+                        this._leftController._gazeTracker.isVisible = false;
                     }
-                    if (this.rightController) {
-                        this.rightController._gazeTracker.isVisible = false;
+                    if (this._rightController) {
+                        this._rightController._gazeTracker.isVisible = false;
                     }
                 }