Przeglądaj źródła

removed redundant else statement

Lewy Blue 7 lat temu
rodzic
commit
e1e12a823a
1 zmienionych plików z 2 dodań i 4 usunięć
  1. 2 4
      examples/js/loaders/FBXLoader.js

+ 2 - 4
examples/js/loaders/FBXLoader.js

@@ -3916,12 +3916,10 @@
 
 			return color.setScalar( property.value );
 
-		} else {
-
-			return color.fromArray( property.value );
-
 		}
 
+		return color.fromArray( property.value );
+
 	}
 
 	// Converts ArrayBuffer to String.