From 007ccba1acdf3c9ff02bb415af66e9fda7b398e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=B3=B4=EA=B3=A4?= Date: Fri, 13 Mar 2026 09:01:20 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20[rd]=20=EB=B0=A9=ED=99=94=EC=85=94?= =?UTF-8?q?=ED=84=B0=20BIM=20=EB=B7=B0=EC=96=B4=20=EB=B9=88=20=ED=99=94?= =?UTF-8?q?=EB=A9=B4=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - params null 체크로 인한 vpRef 순환 의존성 문제 해결 - 뷰포트 div를 항상 렌더링, 패널만 조건부 렌더링으로 변경 --- .../fire-shutter-bim-viewer/index.blade.php | 28 +++++++++++-------- 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/resources/views/rd/fire-shutter-bim-viewer/index.blade.php b/resources/views/rd/fire-shutter-bim-viewer/index.blade.php index 0c1d6051..b6f230b7 100644 --- a/resources/views/rd/fire-shutter-bim-viewer/index.blade.php +++ b/resources/views/rd/fire-shutter-bim-viewer/index.blade.php @@ -978,8 +978,6 @@ function FireShutterBimApp() { sceneRef.current?.screenshot(); }, []); - if (!params) return null; - return (
{/* 상단 헤더 */} @@ -989,21 +987,27 @@ className="px-5 py-2.5 flex items-center gap-4 flex-shrink-0">

방화셔터 BIM 뷰어

- | - - {PRODUCT_DEFAULTS[params.productType].label} · {params.openWidth} x {params.openHeight}mm - + {params && ( + <> + | + + {PRODUCT_DEFAULTS[params.productType].label} · {params.openWidth} x {params.openHeight}mm + + + )} {/* 메인 영역 */}
{/* 좌측 파라미터 패널 */} -
- -
+ {params && ( +
+ +
+ )} - {/* 3D 뷰포트 */} + {/* 3D 뷰포트 — 항상 렌더링 (vpRef 필수) */}
{/* 개폐율 표시 */} @@ -1015,7 +1019,7 @@ className="p-3 overflow-y-auto custom-scrollbar flex-shrink-0">
{/* 우측 정보 패널 */} - + {params && }
{/* 하단 툴바 */}