Skip to content

Commit 9f37dae

Browse files
author
David Kline
authored
Merge pull request #2444 from Microsoft/mrtk_development
Merge input system fix from mrtk_development
2 parents 1c3eb91 + 34019a2 commit 9f37dae

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)