@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/dist/lib-cjs/api/manager/gltfExportManager.js +1 -4
- package/dist/lib-cjs/api/manager/gltfExportManager.js.map +1 -1
- package/dist/lib-cjs/buildinfo.json +1 -1
- package/dist/lib-cjs/commonjs.tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/api/manager/gltfExportManager.ts +7 -4
package/package.json
CHANGED
|
@@ -199,10 +199,13 @@ export class GltfExportManager {
|
|
|
199
199
|
}
|
|
200
200
|
|
|
201
201
|
SceneLoader.ShowLoadingScreen = false;
|
|
202
|
-
const newScene = await SceneLoader.LoadAsync(
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
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
|
}
|