diff --git a/packages/loader/src/gltf/parser/GLTFBufferParser.ts b/packages/loader/src/gltf/parser/GLTFBufferParser.ts index 75e67ed4e7..0d89803d0d 100644 --- a/packages/loader/src/gltf/parser/GLTFBufferParser.ts +++ b/packages/loader/src/gltf/parser/GLTFBufferParser.ts @@ -43,12 +43,11 @@ export class GLTFBufferParser extends GLTFParser { }); // If the textures are all urls, process `GLTFBufferParser` and `GLTFTextureParser` pipelines in parallel. for (let i in textures) { - if (images[textures[i].source].uri) { + if (!images[textures[i].source].uri) { return buffersPromise; } } context.buffersPromise = buffersPromise; - return buffersPromise; }); } }