From bc31e9134ca45222e0723cf5a6ef5515c412cf50 Mon Sep 17 00:00:00 2001 From: JouChun Date: Thu, 24 Oct 2024 23:07:42 -0400 Subject: [PATCH] =?UTF-8?q?=E5=88=87=E6=8F=9B=E5=B0=8F=E9=A1=9E=E6=9B=B4?= =?UTF-8?q?=E6=8F=9B=E8=A8=AD=E5=82=99forge=E9=A1=AF=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/forge/useForgeSprite.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/hooks/forge/useForgeSprite.js b/src/hooks/forge/useForgeSprite.js index 3c254e4..a1d83c1 100644 --- a/src/hooks/forge/useForgeSprite.js +++ b/src/hooks/forge/useForgeSprite.js @@ -109,7 +109,7 @@ export default function useForgeSprite() { () => { if (forgeViewer.value?.isLoadDone()) { createSprites(); - hideAllObjects(); + showSubSystemObjects(); } }, { @@ -179,6 +179,8 @@ export default function useForgeSprite() { forgeViewer.value.tearDown(); }; + + return { createSprites, updateDataVisualization,