Просмотр исходного кода

Editor: SetValueCommand shouldn't need to dispatch sceneGraphChanged.

Mr.doob 9 лет назад
Родитель
Сommit
c02b84881c
1 измененных файлов с 2 добавлено и 2 удалено
  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();
 
 	},