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
@@ -497,9 +497,11 @@ class GLTFWriter {
|
|
497
497
|
if (json.buffers && json.buffers.length > 0) {
|
498
498
|
readAsDataURL(blob).then((uri) => {
|
499
499
|
json.buffers[0].uri = uri;
|
500
|
+
onDone(json);
|
500
501
|
});
|
502
|
+
} else {
|
503
|
+
onDone(json);
|
501
504
|
}
|
502
|
-
onDone(json);
|
503
505
|
}
|
504
506
|
}
|
505
507
|
/**
|