Przeglądaj źródła

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

rickfromwork 4 lat temu
rodzic
commit
5d5d421a1a

+ 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) {