Jelajahi Sumber

removing failing point temporarily until I figure out what's going wrong

rickfromwork 4 tahun lalu
induk
melakukan
5d5d421a1a
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 2 1
      src/XR/features/WebXRControllerPointerSelection.ts

+ 2 - 1
src/XR/features/WebXRControllerPointerSelection.ts

@@ -511,7 +511,8 @@ export class WebXRControllerPointerSelection extends WebXRAbstractFeature {
             (<StandardMaterial>controllerData.selectionMesh.material).disableLighting = this.disableSelectionMeshLighting;
 
             if (controllerData.pick) {
-                this._scene.simulatePointerMove(controllerData.pick, { pointerId: controllerData.id });
+            // TODO find out why this causes a crash when hand data passes through here
+           //     this._scene.simulatePointerMove(controllerData.pick, { pointerId: controllerData.id });
             }
         });
         if (xrController.inputSource.gamepad) {