Skip to content

Commit 04caf15

Browse files
authored
Merge pull request #3626 from Alexees/mrtk_dataProviderMatrixUpdate
Mrtk data provider matrix update
2 parents dc95ac1 + 53eb7e8 commit 04caf15

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Assets/MixedRealityToolkit.SDK/Features/UX/Scripts/Pointers/LinePointer.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ public override void OnPreRaycast()
120120
Vector3 pointerPosition;
121121
TryGetPointerPosition(out pointerPosition);
122122

123+
lineBase.UpdateMatrix();
124+
123125
// Set our first and last points
124126
lineBase.FirstPoint = pointerPosition;
125127

Assets/MixedRealityToolkit/Utilities/Lines/DataProviders/BaseMixedRealityLineDataProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ private Vector3 TransformPoint(Vector3 point)
537537
}
538538
}
539539

540-
private void UpdateMatrix()
540+
public void UpdateMatrix()
541541
{
542542
switch (transformMode)
543543
{

0 commit comments

Comments
 (0)