File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/dev/core/src/XR/features Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -420,13 +420,13 @@ export class WebXRControllerPointerSelection extends WebXRAbstractFeature {
420
420
// only do this for the selected pointer
421
421
const controllerData = this . _controllers [ id ] ;
422
422
if ( this . _options . lookAndPickMode && controllerData . xrController ?. inputSource . targetRayMode !== "transient-pointer" ) {
423
- return ;
423
+ continue ;
424
424
}
425
425
if ( ( ! this . _options . enablePointerSelectionOnAllControllers && id !== this . _attachedController ) || controllerData . disabledByNearInteraction ) {
426
426
controllerData . selectionMesh . isVisible = false ;
427
427
controllerData . laserPointer . isVisible = false ;
428
428
controllerData . pick = null ;
429
- return ;
429
+ continue ;
430
430
}
431
431
432
432
controllerData . laserPointer . isVisible = this . displayLaserPointer ;
@@ -444,7 +444,7 @@ export class WebXRControllerPointerSelection extends WebXRAbstractFeature {
444
444
controllerGlobalPosition = controllerData . webXRCamera . position ;
445
445
controllerData . webXRCamera . getForwardRayToRef ( controllerData . tmpRay ) ;
446
446
} else {
447
- return ;
447
+ continue ;
448
448
}
449
449
450
450
if ( this . _options . maxPointerDistance ) {
You can’t perform that action at this time.
0 commit comments