Skip to content

Commit d86d799

Browse files
committed
fix: await set up model
1 parent 37712d8 commit d86d799

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/fragments/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@thatopen/fragments",
33
"description": "Simple geometric system built on top of Three.js to display 3D BIM data efficiently.",
4-
"version": "3.1.1",
4+
"version": "3.1.2",
55
"author": "That Open Company",
66
"contributors": [
77
"Antonio Gonzalez Viegas (https://github.com/agviegas)",

packages/fragments/src/FragmentsModels/src/model/fragments-model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ export class FragmentsModel {
654654
*/
655655
async _setup(data: ArrayBuffer, raw?: boolean, config?: VirtualModelConfig) {
656656
if (this._isSetup) return;
657-
this._setupManager.setup(this, this._bbox, data, raw, config);
657+
await this._setupManager.setup(this, this._bbox, data, raw, config);
658658
this._isLoaded = true;
659659
this._isProcessing = true;
660660
this._isSetup = true;

0 commit comments

Comments
 (0)