Browse Source

Editor: SetValueCommand shouldn't need to dispatch sceneGraphChanged.

Mr.doob 9 years ago
parent
commit
c02b84881c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      editor/js/commands/SetValueCommand.js

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

@@ -31,7 +31,7 @@ SetValueCommand.prototype = {
 
 		this.object[ this.attributeName ] = this.newValue;
 		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.editor.signals.objectChanged.dispatch( this.object );
-		this.editor.signals.sceneGraphChanged.dispatch();
+		// this.editor.signals.sceneGraphChanged.dispatch();
 
 	},