Skip to content

Commit db8dfd2

Browse files
committed
Update PlatformHandMeshVisualizer.cs
1 parent 713b185 commit db8dfd2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

org.mixedrealitytoolkit.input/Visualizers/PlatformHandVisualizer/PlatformHandMeshVisualizer.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,11 @@ protected override void OnEnable()
4747
handMeshTracker = HandNode == UnityEngine.XR.XRNode.LeftHand ? HandMeshTracker.Left : HandMeshTracker.Right;
4848
#endif
4949
}
50+
else
5051
#endif
52+
{
53+
enabled = false;
54+
}
5155
}
5256

5357
protected void Update()

0 commit comments

Comments
 (0)