提交 2781c236 编写于 作者: M Mr.doob

Editor: Added default value to materialSlotSelect. Fixes #11976

上级 8ea959eb
......@@ -27,7 +27,7 @@ Sidebar.Material = function ( editor ) {
materialSlotRow.add( new UI.Text( 'Slot' ).setWidth( '90px' ) );
var materialSlotSelect = new UI.Select().setWidth( '170px' ).setFontSize( '12px' ).onChange( update );
materialSlotSelect.setOptions( { 0: '' } ).setValue( 0 );
materialSlotRow.add( materialSlotSelect );
container.add( materialSlotRow );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册