three-stdlib 2.28.0 → 2.28.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/exporters/GLTFExporter.cjs +3 -1
- package/exporters/GLTFExporter.cjs.map +1 -1
- package/exporters/GLTFExporter.js +3 -1
- package/exporters/GLTFExporter.js.map +1 -1
- package/objects/BatchedMesh.cjs +10 -12
- package/objects/BatchedMesh.cjs.map +1 -1
- package/objects/BatchedMesh.d.ts +0 -2
- package/objects/BatchedMesh.js +10 -12
- package/objects/BatchedMesh.js.map +1 -1
- package/package.json +1 -1
|
@@ -495,9 +495,11 @@ class GLTFWriter {
|
|
|
495
495
|
if (json.buffers && json.buffers.length > 0) {
|
|
496
496
|
readAsDataURL(blob).then((uri) => {
|
|
497
497
|
json.buffers[0].uri = uri;
|
|
498
|
+
onDone(json);
|
|
498
499
|
});
|
|
500
|
+
} else {
|
|
501
|
+
onDone(json);
|
|
499
502
|
}
|
|
500
|
-
onDone(json);
|
|
501
503
|
}
|
|
502
504
|
}
|
|
503
505
|
/**
|