提交 1f08123d 编写于 作者: M Mr.doob

Clean up.

上级 2781c236
......@@ -26,7 +26,7 @@ Sidebar.Material = function ( editor ) {
materialSlotRow.add( new UI.Text( 'Slot' ).setWidth( '90px' ) );
var materialSlotSelect = new UI.Select().setWidth( '170px' ).setFontSize( '12px' ).onChange( update );
var materialSlotSelect = new UI.Select().setWidth( '170px' ).setFontSize( '12px' ).onChange( update );
materialSlotSelect.setOptions( { 0: '' } ).setValue( 0 );
materialSlotRow.add( materialSlotSelect );
......@@ -518,7 +518,7 @@ Sidebar.Material = function ( editor ) {
if ( currentMaterialSlot !== previousSelectedSlot ) refreshUI( true );
material = editor.getObjectMaterial( currentObject, currentMaterialSlot )
material = editor.getObjectMaterial( currentObject, currentMaterialSlot )
var textureWarning = false;
var objectHasUvs = false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册