@combeenation/3d-viewer 9.2.0-beta2 → 9.2.0

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.2.0-beta2",
3
+ "version": "9.2.0",
4
4
  "description": "Combeenation 3D Viewer",
5
5
  "homepage": "https://github.com/Combeenation/3d-viewer#readme",
6
6
  "bugs": {
@@ -200,7 +200,9 @@ export class GltfExportManager {
200
200
  engine.getCaps().maxTextureSize = 1024;
201
201
  }
202
202
 
203
- // TODO: explain "_LastCreateScene" workaround
203
+ // overwritting _LastCreatedScene to fix issue: https://combeenation.youtrack.cloud/issue/CB-8972
204
+ // In short: dummy scene erroneously interacts with original viewer scene
205
+ // setting viewer scene as fallback again (`_LastCreatedScene`) resolves that issue
204
206
  const curLastScene = EngineStore._LastCreatedScene;
205
207
  const newScene = new Scene(engine);
206
208
  EngineStore._LastCreatedScene = curLastScene;