iflow-engine-base 3.1.2 → 3.1.3
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.
|
@@ -20188,7 +20188,7 @@ class em {
|
|
|
20188
20188
|
*/
|
|
20189
20189
|
async loadModel(e, t = {}) {
|
|
20190
20190
|
if (!e.includes(".json"))
|
|
20191
|
-
xr(e
|
|
20191
|
+
xr(e, (n) => {
|
|
20192
20192
|
const i = JSON.parse(n);
|
|
20193
20193
|
this.engine.dwgData = i, this.data = i, this.buildScene(i), this.engine.fitToView(), this.engine.layerManager._loadLayers();
|
|
20194
20194
|
});
|