提交 632854fa 编写于 作者: M Mr.doob

Editor: Renamed setObjectName to nameObject.

上级 44b89989
......@@ -155,7 +155,7 @@ Editor.prototype = {
},
setObjectName: function ( object, name ) {
nameObject: function ( object, name ) {
object.name = name;
this.signals.sceneGraphChanged.dispatch();
......
......@@ -81,7 +81,7 @@ Sidebar.Object3D = function ( editor ) {
var objectNameRow = new UI.Panel();
var objectName = new UI.Input().setWidth( '150px' ).setFontSize( '12px' ).onChange( function () {
editor.setObjectName( editor.selected, objectName.getValue() );
editor.nameObject( editor.selected, objectName.getValue() );
} );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册