浏览代码

Editor.js : Clean up

heqiang 4 年之前
父节点
当前提交
596a6c18fd
共有 1 个文件被更改,包括 2 次插入2 次删除
  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 ) {
 	focusById: function ( id ) {
 
 
-		this.focus( this.scene.getObjectById( id, true ) );
+		this.focus( this.scene.getObjectById( id ) );
 
 
 	},
 	},