Pārlūkot izejas kodu

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

rickfromwork 4 gadi atpakaļ
vecāks
revīzija
5d5d421a1a
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  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) {