Browse Source

Editor: Clean up.

Mr.doob 8 years ago
parent
commit
ddc196f392
1 changed files with 1 additions and 3 deletions
  1. 1 3
      editor/js/Sidebar.Material.js

+ 1 - 3
editor/js/Sidebar.Material.js

@@ -1011,9 +1011,7 @@ Sidebar.Material = function ( editor ) {
 
 			if ( material.length === 0 ) return;
 
-			if( material.length == 0 ) return;
-			
-			material = material[ currentMaterialSlot ]
+			material = material[ currentMaterialSlot ];
 
 		} else {