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

Merge pull request #21057 from 1993heqiang/local_dev

Editor.js : Clean up
Mr.doob 5 лет назад
Родитель
Сommit
52c9420f7b
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 ) {
 
-		this.focus( this.scene.getObjectById( id, true ) );
+		this.focus( this.scene.getObjectById( id ) );
 
 	},
 

粤ICP备19079148号