xl-public-utils 1.0.18 → 1.0.19
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/package.json +1 -1
- package/src/vtkUtils.js +1 -1
package/package.json
CHANGED
package/src/vtkUtils.js
CHANGED
|
@@ -895,7 +895,7 @@ export async function loadMeshData(file, type = undefined, process = undefined)
|
|
|
895
895
|
if(typeof file === 'string') {
|
|
896
896
|
type = getFileExtension(file);
|
|
897
897
|
const _file = await fetch(file)
|
|
898
|
-
_fileBuffer = _file.arrayBuffer()
|
|
898
|
+
_fileBuffer = await _file.arrayBuffer()
|
|
899
899
|
} else if(file instanceof Blob && type !== undefined) {
|
|
900
900
|
_fileBuffer = await file.arrayBuffer();
|
|
901
901
|
} else if(file instanceof File) {
|