We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0fc18f commit 5042321Copy full SHA for 5042321
Assets/MixedRealityToolkit-SDK/Features/Input/FocusProvider.cs
@@ -187,10 +187,7 @@ public void UpdateHit()
187
188
public void ResetFocusedObjects(bool clearPreviousObject = true)
189
{
190
- if (clearPreviousObject)
191
- {
192
- PreviousPointerTarget = null;
193
- }
+ PreviousPointerTarget = clearPreviousObject ? null : CurrentPointerTarget;
194
195
focusDetails.Point = Details.Point;
196
focusDetails.Normal = Details.Normal;
0 commit comments