Skip to content

Commit 34019a2

Browse files
author
David Kline
authored
Merge pull request #2442 from StephenHodgson/vNEXT-PoseFix
Fixed a couple of input system bugs
2 parents b3df1f4 + 9a410bf commit 34019a2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Assets/MixedRealityToolkit/InputSystem/MixedRealityInputManager.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1026,7 +1026,7 @@ public void RaisePoseInputChanged(IMixedRealityInputSource source, MixedRealityI
10261026
poseInputEventData.Initialize(source, inputAction, inputData);
10271027

10281028
// Pass handler through HandleEvent to perform modal/fallback logic
1029-
HandleEvent(positionInputEventData, OnPoseInputChanged);
1029+
HandleEvent(poseInputEventData, OnPoseInputChanged);
10301030
}
10311031

10321032
/// <inheritdoc />
@@ -1036,7 +1036,7 @@ public void RaisePoseInputChanged(IMixedRealityInputSource source, Handedness ha
10361036
poseInputEventData.Initialize(source, handedness, inputAction, inputData);
10371037

10381038
// Pass handler through HandleEvent to perform modal/fallback logic
1039-
HandleEvent(positionInputEventData, OnPoseInputChanged);
1039+
HandleEvent(poseInputEventData, OnPoseInputChanged);
10401040
}
10411041

10421042
#endregion Input Pose Changed

Assets/MixedRealityToolkit/_Core/EventDatum/Input/MixedRealityPointerEventData.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public MixedRealityPointerEventData(EventSystem eventSystem) : base(eventSystem)
3434
/// <param name="count"></param>
3535
public void Initialize(IMixedRealityPointer pointer, MixedRealityInputAction inputAction, int count)
3636
{
37-
BaseInitialize(pointer.InputSourceParent, inputAction);
37+
Initialize(pointer.InputSourceParent, inputAction);
3838
Pointer = pointer;
3939
Count = count;
4040
}

0 commit comments

Comments
 (0)