Browse Source

Editor.js : Clean up

heqiang 4 năm trước cách đây
mục cha
commit
596a6c18fd
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      editor/js/Editor.js

+ 2 - 2
editor/js/Editor.js

@@ -554,7 +554,7 @@ Editor.prototype = {
 
 		}
 
-		this.select( this.scene.getObjectById( id, true ) );
+		this.select( this.scene.getObjectById( id ) );
 
 	},
 
@@ -592,7 +592,7 @@ Editor.prototype = {
 
 	focusById: function ( id ) {
 
-		this.focus( this.scene.getObjectById( id, true ) );
+		this.focus( this.scene.getObjectById( id ) );
 
 	},