@combeenation/3d-viewer 9.1.0 → 9.1.1

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": "@combeenation/3d-viewer",
3
- "version": "9.1.0",
3
+ "version": "9.1.1",
4
4
  "description": "Combeenation 3D Viewer",
5
5
  "homepage": "https://github.com/Combeenation/3d-viewer#readme",
6
6
  "bugs": {
@@ -199,10 +199,13 @@ export class GltfExportManager {
199
199
  }
200
200
 
201
201
  SceneLoader.ShowLoadingScreen = false;
202
- const newScene = await SceneLoader.LoadAsync('', 'data:' + JSON.stringify(serializedScene), engine);
203
- // this is required for offscreen canvas, otherwise the scene dispose code throws when trying to remove the cursor
204
- // events
205
- newScene.doNotHandleCursors = true;
202
+ const newScene = await SceneLoader.LoadAsync(
203
+ '',
204
+ 'data:' + JSON.stringify(serializedScene),
205
+ engine,
206
+ undefined,
207
+ '.babylon'
208
+ );
206
209
 
207
210
  return newScene;
208
211
  }