@xeokit/xeokit-sdk 2.4.2-beta-46 → 2.4.2-beta-47

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xeokit/xeokit-sdk",
3
- "version": "2.4.2-beta-46",
3
+ "version": "2.4.2-beta-47",
4
4
  "description": "Web Programming Toolkit for 3D/2D BIM and AEC Graphics",
5
5
  "module": "./dist/xeokit-sdk.es.js",
6
6
  "main": "./dist/xeokit-sdk.cjs.js",
@@ -1041,7 +1041,7 @@ class XKTLoaderPlugin extends Plugin {
1041
1041
  globalizeObjectIds: options.globalizeObjectIds
1042
1042
  });
1043
1043
  i++;
1044
- loadNext();
1044
+ this.viewer.scene.once("tick", loadNext);
1045
1045
  }, error);
1046
1046
  }
1047
1047
  }
@@ -1056,7 +1056,7 @@ class XKTLoaderPlugin extends Plugin {
1056
1056
  this._dataSource.getXKT(`${baseDir}${xktFiles[i]}`, (arrayBuffer) => {
1057
1057
  this._parseModel(arrayBuffer, params, options, sceneModel, metaModel, manifestCtx);
1058
1058
  i++;
1059
- loadNext();
1059
+ this.viewer.scene.once("tick", loadNext);
1060
1060
  }, error);
1061
1061
  }
1062
1062
  }