소스 검색

Editor: SetValueCommand shouldn't need to dispatch sceneGraphChanged.

Mr.doob 10 년 전
부모
커밋
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();
 
 	},