2
0
Эх сурвалжийг харах

Editor: SetValueCommand shouldn't need to dispatch sceneGraphChanged.

Mr.doob 9 жил өмнө
parent
commit
c02b84881c

+ 2 - 2
editor/js/commands/SetValueCommand.js

@@ -31,7 +31,7 @@ SetValueCommand.prototype = {
 
 
 		this.object[ this.attributeName ] = this.newValue;
 		this.object[ this.attributeName ] = this.newValue;
 		this.editor.signals.objectChanged.dispatch( this.object );
 		this.editor.signals.objectChanged.dispatch( this.object );
-		this.editor.signals.sceneGraphChanged.dispatch();
+		// this.editor.signals.sceneGraphChanged.dispatch();
 
 
 	},
 	},
 
 
@@ -39,7 +39,7 @@ SetValueCommand.prototype = {
 
 
 		this.object[ this.attributeName ] = this.oldValue;
 		this.object[ this.attributeName ] = this.oldValue;
 		this.editor.signals.objectChanged.dispatch( this.object );
 		this.editor.signals.objectChanged.dispatch( this.object );
-		this.editor.signals.sceneGraphChanged.dispatch();
+		// this.editor.signals.sceneGraphChanged.dispatch();
 
 
 	},
 	},