diff --git a/src/exporters/GLTFExporter.js b/src/exporters/GLTFExporter.js index 741b63af..143a42d5 100644 --- a/src/exporters/GLTFExporter.js +++ b/src/exporters/GLTFExporter.js @@ -731,10 +731,11 @@ class GLTFWriter { if (json.buffers && json.buffers.length > 0) { readAsDataURL(blob).then((uri) => { json.buffers[0].uri = uri + onDone(json) }) + } else { + onDone(json) } - - onDone(json) } }