mirror of
https://github.com/CesiumGS/obj2gltf.git
synced 2024-11-23 08:34:14 -05:00
Missing a return for images
This commit is contained in:
parent
6c0c39761b
commit
ca7f0cca45
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user