Skip to content

Commit 98dcd8e

Browse files
committed
change for PR
1 parent da816fc commit 98dcd8e

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

Assets/MixedRealityToolkit.SDK/Features/UX/Scripts/Slate/HandInteractionPanZoom.cs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -646,15 +646,7 @@ private void SetHandDataFromController(IMixedRealityController controller, IMixe
646646
if (data.currentPointer != null)
647647
{
648648
Vector3 pt = data.currentPointer.Position;
649-
//if (data.currentController.IsRotationAvailable)
650-
//{
651-
// // Vector3 dir = controller.InputSource.Pointers[0].Rays[0].Direction * (controller.InputSource.Pointers[0].SphereCastRadius);
652-
// data.initialProjectedOffset = SnapFingerToQuad(pt);
653-
//}
654-
//else//pointer is GGVPOinter and has no SphereCastRadius
655-
//{
656-
data.initialProjectedOffset = SnapFingerToQuad(pt);
657-
//}
649+
data.initialProjectedOffset = SnapFingerToQuad(pt);
658650
}
659651

660652
data.touchingQuadCoord = GetUVFromPoint(data.touchingPoint);

0 commit comments

Comments
 (0)