Skip to content

Commit 7260a9b

Browse files
committed
Removed redundant check
1 parent fa2b8f1 commit 7260a9b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Packages/com.unity.inputsystem/InputSystem/Plugins/XR/TrackedPoseDriver.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -525,8 +525,7 @@ void ReadTrackingState()
525525
// Since the field initializes to allowing position and rotation,
526526
// this allows for driving the Transform pose always when the device
527527
// doesn't support reporting the tracking state.
528-
if (HasResolvedControl(trackingStateAction))
529-
m_CurrentTrackingState = (TrackingStates)trackingStateAction.ReadValue<int>();
528+
m_CurrentTrackingState = (TrackingStates)trackingStateAction.ReadValue<int>();
530529
}
531530
}
532531

0 commit comments

Comments
 (0)