Explorar o código

set _pointingPoseNode to null when not found in loaded mesh

Trevor Baron %!s(int64=7) %!d(string=hai) anos
pai
achega
5583ace752
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/Cameras/VR/babylon.vrExperienceHelper.ts

+ 1 - 0
src/Cameras/VR/babylon.vrExperienceHelper.ts

@@ -157,6 +157,7 @@ module BABYLON {
             makeNotPick(mesh);
             var childMeshes = mesh.getChildMeshes();
 
+            this.webVRController._pointingPoseNode = null;
             for (var i = 0; i < childMeshes.length; i++) {
                 if (childMeshes[i].name && childMeshes[i].name.indexOf(PoseEnabledController.POINTING_POSE) >= 0) {
                     mesh = childMeshes[i];