|
@@ -11365,6 +11365,7 @@ var BABYLON;
|
|
this.releaseSubMeshes();
|
|
this.releaseSubMeshes();
|
|
// Engine
|
|
// Engine
|
|
this.getScene().getEngine().unbindAllAttributes();
|
|
this.getScene().getEngine().unbindAllAttributes();
|
|
|
|
+ this.getScene().getEngine().wipeCaches();
|
|
// Remove from scene
|
|
// Remove from scene
|
|
this.getScene().removeMesh(this);
|
|
this.getScene().removeMesh(this);
|
|
if (!doNotRecurse) {
|
|
if (!doNotRecurse) {
|