From 306ddef061eba795015459ba77099e1272fdddab 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 16:45:43 +0000
Subject: [PATCH] Changes
Co-authored-by: Reifonas <211114984+Reifonas@users.noreply.github.com>
---
src/pages/XRSession.tsx | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/src/pages/XRSession.tsx b/src/pages/XRSession.tsx
index 3ffb5f8..f612423 100644
--- a/src/pages/XRSession.tsx
+++ b/src/pages/XRSession.tsx
@@ -533,14 +533,15 @@ const XRSession = () => {
{effectiveInXR ? (
<>
- {/* In XR (or SimXR): grab wrapper → model. Skip hit-test in SimXR mode. */}
+ {/* In XR (or SimXR): grab wrapper → ACTIVE model. Other models render as static background. */}
+
{simXR ? (
{ if (placementMode) setPlacementMode(false); }}
>
-
+
) : (
@@ -556,7 +557,7 @@ const XRSession = () => {
allowScale={allowScale}
onGrabStart={() => { if (placementMode) setPlacementMode(false); }}
>
-
+
)}
@@ -580,9 +581,10 @@ const XRSession = () => {
>
) : (
<>
- {/* Desktop preview (no headset): show model with OrbitControls */}
+ {/* Desktop preview (no headset): show all models with OrbitControls */}
-
+
+