proper indent

This commit is contained in:
Tim Knip 2017-10-10 15:06:45 +02:00
parent fab88cfdfa
commit bdebfeadee

View File

@ -85,11 +85,11 @@ function loadMtl(mtlPath, options) {
* @returns {String} The clean texture name
*/
function cleanTextureName (name) {
var re = /-(bm|t|s|o|blendu|blendv|boost|mm|texres|clamp|imfchan|type)/;
if (re.test(name)) {
return name.split(/\s+/).pop();
}
return name;
var re = /-(bm|t|s|o|blendu|blendv|boost|mm|texres|clamp|imfchan|type)/;
if (re.test(name)) {
return name.split(/\s+/).pop();
}
return name;
}
function parseLine(line) {