Fixed issue with missing material

This commit is contained in:
Robert Taglang 2016-07-22 17:28:48 -04:00
parent b9e8079f76
commit 6c0c39761b
1 changed files with 1 additions and 0 deletions

View File

@ -113,5 +113,6 @@ function parse(mtlPath) {
})
.catch(function() {
console.log('Could not read material file at ' + mtlPath + '. Using default material instead.');
return {};
});
}