mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-30 19:21:54 +00:00
Fix parsing workflows from 3d outputs on Windows (#3196)
This commit is contained in:
@@ -1457,7 +1457,10 @@ export class ComfyApp {
|
|||||||
} else {
|
} else {
|
||||||
this.showErrorOnFileLoad(file)
|
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)
|
const gltfInfo = await getGltfBinaryMetadata(file)
|
||||||
if (gltfInfo.workflow) {
|
if (gltfInfo.workflow) {
|
||||||
this.loadGraphData(gltfInfo.workflow, true, true, fileName)
|
this.loadGraphData(gltfInfo.workflow, true, true, fileName)
|
||||||
|
|||||||
Reference in New Issue
Block a user