|
@@ -624,12 +624,16 @@ Editor.prototype = {
|
|
|
|
|
|
var objects = this.scene.children;
|
|
|
|
|
|
+ this.signals.sceneGraphChanged.active = false;
|
|
|
+
|
|
|
while ( objects.length > 0 ) {
|
|
|
|
|
|
this.removeObject( objects[ 0 ] );
|
|
|
|
|
|
}
|
|
|
|
|
|
+ this.signals.sceneGraphChanged.active = true;
|
|
|
+
|
|
|
this.geometries = {};
|
|
|
this.materials = {};
|
|
|
this.textures = {};
|