Skip to content

Commit c09962b

Browse files
authored
Update Assets/MixedRealityToolkit.Services/InputSystem/FocusProvider.cs
1 parent 47ffd34 commit c09962b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/MixedRealityToolkit.Services/InputSystem/FocusProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ public void Set(RaycastResult result, Vector3 hitPointOnObject, Vector4 hitNorma
259259
raycastHit.normal = hitNormalOnObject;
260260
raycastHit.distance = rayDistance;
261261
raycastHit.transform = result.gameObject.transform;
262-
raycastHit.raycastValid = false;
262+
raycastHit.raycastValid = false; //we can't populate all fields of MixedRealityRaycastHit in case of a GraphicsRaycast so we flag the hit data as invalid
263263

264264
graphicsRaycastResult = result;
265265

0 commit comments

Comments
 (0)