From 148d2d34294074453d8d95d412f45f683913045c Mon Sep 17 00:00:00 2001 From: spatialfree Date: Sat, 7 Dec 2024 18:44:50 -0500 Subject: [PATCH] hide hands if passthrough --- src/Arts.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Arts.cs b/src/Arts.cs index 21199d8..8a2b3a7 100644 --- a/src/Arts.cs +++ b/src/Arts.cs @@ -1,6 +1,6 @@ using System.Collections.Generic; using StereoKit; - +using StereoKit.Framework; namespace dofdemo; static class Arts @@ -47,7 +47,9 @@ static class Arts public static void Frame() { - Input.HandVisible(Handed.Max, false); + if (SK.GetStepper().Enabled) { + Input.HandVisible(Handed.Max, false); + } // world // Matrix m4_dof = Mono.dof_pose.ToMatrix(Mono.dof_scl);