Bläddra i källkod

Editor: SetValueCommand shouldn't need to dispatch sceneGraphChanged.

Mr.doob 10 år sedan
förälder
incheckning
c02b84881c
1 ändrade filer med 2 tillägg och 2 borttagningar
  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();
 
 	},