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,