File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
Assets/MixedRealityToolkit/_Core/Devices Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -44,12 +44,7 @@ protected virtual IMixedRealityPointer[] RequestPointers(SystemType controllerTy
4444 {
4545 var pointerProfile = MixedRealityToolkit . Instance . ActiveProfile . InputSystemProfile . PointerProfile . PointerOptions [ i ] ;
4646
47- if ( ! useSpecificType )
48- {
49- useSpecificType = pointerProfile . ControllerType . Type != null ;
50- }
51-
52- if ( ( ! useSpecificType || pointerProfile . ControllerType . Type == controllerType . Type ) &&
47+ if ( ( ( useSpecificType && pointerProfile . ControllerType . Type == controllerType . Type ) || ( ! useSpecificType && pointerProfile . ControllerType . Type == null ) ) &&
5348 ( pointerProfile . Handedness == Handedness . Any || pointerProfile . Handedness == Handedness . Both || pointerProfile . Handedness == controllingHand ) )
5449 {
5550 var pointerObject = Object . Instantiate ( pointerProfile . PointerPrefab ) ;
You can’t perform that action at this time.
0 commit comments