From ca2d61f3934baa2b4db0b31732d5552537dd62b4 Mon Sep 17 00:00:00 2001
From: Kelly Yang <124ykl@gmail.com>
Date: Sat, 7 Mar 2026 09:22:35 -0800
Subject: [PATCH] use getLoad3dAsync (#9520)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
## Summary
Applying `useLoad3dService().getLoad3dAsync` to fix the broken 3D viewer
scene.
Fix https://github.com/Comfy-Org/ComfyUI_frontend/issues/9495
## Screenshots
before
after
┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-9520-use-getLoad3dAsync-31c6d73d365081cf8c24cd89b545ccb4)
by [Unito](https://www.unito.io)
---
src/components/load3d/Load3dViewerContent.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/components/load3d/Load3dViewerContent.vue b/src/components/load3d/Load3dViewerContent.vue
index f7476fde03..aad944adea 100644
--- a/src/components/load3d/Load3dViewerContent.vue
+++ b/src/components/load3d/Load3dViewerContent.vue
@@ -141,7 +141,7 @@ onMounted(async () => {
if (isStandaloneMode && props.modelUrl) {
await viewer.initializeStandaloneViewer(containerRef.value, props.modelUrl)
} else if (props.node) {
- const source = useLoad3dService().getLoad3d(props.node)
+ const source = await useLoad3dService().getLoad3dAsync(props.node)
if (source) {
await viewer.initializeViewer(containerRef.value, source)
}