From cd0aa41e6f494192f66a3b8b9d653ab29aaf75a3 Mon Sep 17 00:00:00 2001 From: misyaguziya <53165965+misyaguziya@users.noreply.github.com> Date: Fri, 15 Nov 2024 17:27:18 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B[bugfix]=20config=20:=20=5FOVERLAY?= =?UTF-8?q?=5FSMALL=5FLOG=5FSETTINGS=E3=81=ABtracker=E3=82=92=E8=A8=AD?= =?UTF-8?q?=E5=AE=9A=E3=81=A7=E3=81=8D=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src-python/config.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src-python/config.py b/src-python/config.py index 12d651d9..0629c633 100644 --- a/src-python/config.py +++ b/src-python/config.py @@ -759,6 +759,10 @@ class Config: if isinstance(value, dict) and set(value.keys()) == set(self.OVERLAY_SMALL_LOG_SETTINGS.keys()): for key, value in value.items(): match (key): + case "tracker": + if isinstance(value, str): + # "HMD", "LeftHand", "RightHand" + self._OVERLAY_SMALL_LOG_SETTINGS[key] = value case "x_pos" | "y_pos" | "z_pos" | "x_rotation" | "y_rotation" | "z_rotation": if isinstance(value, (int, float)): self._OVERLAY_SMALL_LOG_SETTINGS[key] = float(value)