From a7fffd70179f0b91e0c1328c8db33634e1118750 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Thu, 14 May 2026 11:28:44 +0000 Subject: [PATCH] Changes Co-authored-by: Reifonas <211114984+Reifonas@users.noreply.github.com> --- src/pages/XRSession.tsx | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/src/pages/XRSession.tsx b/src/pages/XRSession.tsx index d2df4a7..74960ec 100644 --- a/src/pages/XRSession.tsx +++ b/src/pages/XRSession.tsx @@ -117,19 +117,23 @@ function XRModel({ url }: { url: string }) { const rotYRad = (fineTuning.rotY * Math.PI) / 180; const rotZRad = (fineTuning.rotZ * Math.PI) / 180; const s = fineTuning.scale ?? 1; + const scaleRatio = useModelStore((st) => st.scaleRatio); + const renderFactor = scaleRatio?.factor ?? 1; return ( - - + + + + ); }