From 958f0880c2dbfd803db56344dfd2f4962010cdbd Mon Sep 17 00:00:00 2001 From: galister <22305755+galister@users.noreply.github.com> Date: Thu, 20 Nov 2025 22:15:02 +0900 Subject: [PATCH] dont die on unexpected pose type --- src/input/action_manifest.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/input/action_manifest.rs b/src/input/action_manifest.rs index 7db5e5a4..4fc9dcb6 100644 --- a/src/input/action_manifest.rs +++ b/src/input/action_manifest.rs @@ -577,7 +577,10 @@ fn parse_pose_binding<'de, D: serde::Deserializer<'de>>( "raw" => BoundPoseType::Raw, "tip" => BoundPoseType::Tip, "gdc2015" => BoundPoseType::Gdc2015, - other => return Err(D::Error::unknown_variant(other, &["raw", "tip", "gdc2015"])), + other => { + warn!("Unknown pose type: {other:?}"); + BoundPoseType::Raw + } }; Ok((hand, pose))