|
@@ -378,10 +378,6 @@ function SidebarMaterial( editor ) {
|
|
|
|
|
|
materialSlotRow.setDisplay( '' );
|
|
materialSlotRow.setDisplay( '' );
|
|
|
|
|
|
- if ( material.length === 0 ) return;
|
|
|
|
-
|
|
|
|
- material = material[ currentMaterialSlot ];
|
|
|
|
-
|
|
|
|
} else {
|
|
} else {
|
|
|
|
|
|
materialSlotRow.setDisplay( 'none' );
|
|
materialSlotRow.setDisplay( 'none' );
|