diff --git a/src/components/three/ModelViewer.tsx b/src/components/three/ModelViewer.tsx index 9c4132e..b6cbf11 100644 --- a/src/components/three/ModelViewer.tsx +++ b/src/components/three/ModelViewer.tsx @@ -769,7 +769,7 @@ function VisibilityApplier() { const modelId = root.userData?.modelId as string | undefined; if (!modelId) return; root.traverse((el) => { - if (!el.userData?.ifcElement) return; + if (!el.userData?.ifcElement && !(isPickableModelMesh(el) && !hasIfcAncestor(el))) return; const key = elementKey(modelId, el); const hidden = hiddenElementKeys.has(key); const isolated = isolatedElementKeys ? !isolatedElementKeys.has(key) : false;