Missing a return for images

This commit is contained in:
Robert Taglang 2016-07-22 17:40:29 -04:00
parent 6c0c39761b
commit ca7f0cca45

View File

@ -279,7 +279,7 @@ function getImages(inputPath, materials) {
}
promises.push(loadImage(imagePath));
}
Promise.all(promises).then(function(imageInfoArray) {
return Promise.all(promises).then(function(imageInfoArray) {
var imageInfoArrayLength = imageInfoArray.length;
for (var j = 0; j < imageInfoArrayLength; j++) {
var image = images[j];