@shapediver/viewer.rendering-engine.light-engine
Advanced tools
Comparing version 2.6.2 to 2.6.3
@@ -193,8 +193,9 @@ "use strict"; | ||
} | ||
if (this._lightScene && this._lightScene.id === id) | ||
if (this._lightScene && this._lightScene.id === id) { | ||
this._lightScene = undefined; | ||
while (this._lightNode.children.length > 0) | ||
this._lightNode.removeChild(this._lightNode.children[0]); | ||
this._lightNode.updateVersion(); | ||
} | ||
delete this._lightScenes[id]; | ||
while (this._lightNode.children.length > 0) | ||
this._lightNode.removeChild(this._lightNode.children[0]); | ||
this._lightNode.updateVersion(); | ||
if (this._update) | ||
@@ -201,0 +202,0 @@ this._update(); |
{ | ||
"name": "@shapediver/viewer.rendering-engine.light-engine", | ||
"version": "2.6.2", | ||
"version": "2.6.3", | ||
"description": "", | ||
@@ -42,11 +42,11 @@ "keywords": [], | ||
"dependencies": { | ||
"@shapediver/viewer.rendering-engine.rendering-engine": "2.6.2", | ||
"@shapediver/viewer.rendering-engine.rendering-engine": "2.6.3", | ||
"@shapediver/viewer.settings": "0.1.39", | ||
"@shapediver/viewer.shared.node-tree": "2.6.2", | ||
"@shapediver/viewer.shared.services": "2.6.2", | ||
"@shapediver/viewer.shared.types": "2.6.2", | ||
"@shapediver/viewer.shared.node-tree": "2.6.3", | ||
"@shapediver/viewer.shared.services": "2.6.3", | ||
"@shapediver/viewer.shared.types": "2.6.3", | ||
"gl-matrix": "3.3.0", | ||
"tsyringe": "^4.5.0" | ||
}, | ||
"gitHead": "a397e56a13ddf7fd619c780a68e68e2667b1842f" | ||
"gitHead": "439d43d5219976059b89ab173d54cdafdd1f5c20" | ||
} |
@@ -222,11 +222,12 @@ import { container, singleton } from 'tsyringe' | ||
if(this._lightScene && this._lightScene.id === id) | ||
if(this._lightScene && this._lightScene.id === id) { | ||
(<any>this._lightScene) = undefined; | ||
while (this._lightNode.children.length > 0) | ||
this._lightNode.removeChild(this._lightNode.children[0]); | ||
this._lightNode.updateVersion(); | ||
} | ||
delete this._lightScenes[id]; | ||
while(this._lightNode.children.length > 0) | ||
this._lightNode.removeChild(this._lightNode.children[0]); | ||
this._lightNode.updateVersion(); | ||
if(this._update) this._update(); | ||
if (this._update) this._update(); | ||
return true; | ||
@@ -233,0 +234,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
2224
142666
88
+ Added@shapediver/viewer.rendering-engine.rendering-engine@2.6.3(transitive)
+ Added@shapediver/viewer.shared.build-data@2.6.3(transitive)
+ Added@shapediver/viewer.shared.math@2.6.3(transitive)
+ Added@shapediver/viewer.shared.node-tree@2.6.3(transitive)
+ Added@shapediver/viewer.shared.services@2.6.3(transitive)
+ Added@shapediver/viewer.shared.types@2.6.3(transitive)
- Removed@shapediver/viewer.rendering-engine.rendering-engine@2.6.2(transitive)
- Removed@shapediver/viewer.shared.build-data@2.6.2(transitive)
- Removed@shapediver/viewer.shared.math@2.6.2(transitive)
- Removed@shapediver/viewer.shared.node-tree@2.6.2(transitive)
- Removed@shapediver/viewer.shared.services@2.6.2(transitive)
- Removed@shapediver/viewer.shared.types@2.6.2(transitive)
Updated@shapediver/viewer.rendering-engine.rendering-engine@2.6.3