From 17834459a17a02d537fd6c73f294621ec84aee05 Mon Sep 17 00:00:00 2001 From: Christian Byrne Date: Sun, 23 Mar 2025 11:42:57 -0700 Subject: [PATCH] Fix parsing workflows from 3d outputs on Windows (#3196) --- src/scripts/app.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/scripts/app.ts b/src/scripts/app.ts index ebea7e8996..9bd4739803 100644 --- a/src/scripts/app.ts +++ b/src/scripts/app.ts @@ -1457,7 +1457,10 @@ export class ComfyApp { } else { this.showErrorOnFileLoad(file) } - } else if (file.type === 'model/gltf-binary') { + } else if ( + file.type === 'model/gltf-binary' || + file.name?.endsWith('.glb') + ) { const gltfInfo = await getGltfBinaryMetadata(file) if (gltfInfo.workflow) { this.loadGraphData(gltfInfo.workflow, true, true, fileName)