Explorar o código

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

rickfromwork %!s(int64=4) %!d(string=hai) anos
pai
achega
5d5d421a1a
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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) {