@onerjs/core 8.54.8 → 8.55.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/Materials/material.pure.js +1 -0
- package/Materials/material.pure.js.map +1 -1
- package/Materials/materialPluginManager.pure.js +4 -0
- package/Materials/materialPluginManager.pure.js.map +1 -1
- package/Materials/pushMaterial.js +4 -3
- package/Materials/pushMaterial.js.map +1 -1
- package/Meshes/mesh.pure.js +3 -0
- package/Meshes/mesh.pure.js.map +1 -1
- package/package.json +1 -1
- package/scene.pure.js +2 -1
- package/scene.pure.js.map +1 -1
package/package.json
CHANGED
package/scene.pure.js
CHANGED
|
@@ -4725,7 +4725,8 @@ export class Scene {
|
|
|
4725
4725
|
this._disposeList(this.lights);
|
|
4726
4726
|
// Release materials
|
|
4727
4727
|
if (this._defaultMaterial) {
|
|
4728
|
-
this._defaultMaterial.dispose();
|
|
4728
|
+
this._defaultMaterial.dispose(true);
|
|
4729
|
+
this._defaultMaterial = null;
|
|
4729
4730
|
}
|
|
4730
4731
|
this._disposeList(this.multiMaterials);
|
|
4731
4732
|
this._disposeList(this.materials);
|