diff --git a/src/scripts/app.ts b/src/scripts/app.ts index 1789db352..d673a755a 100644 --- a/src/scripts/app.ts +++ b/src/scripts/app.ts @@ -1392,7 +1392,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)