Uncaught TypeError when using .glb #96

This commit is contained in:
kovacsv 2021-07-12 17:39:20 +02:00
parent 3a03b3c1e7
commit 14833e40a9

View File

@ -888,7 +888,7 @@ OV.ImporterGltf = class extends OV.ImporterBase
{
let bufferIndex = bufferView.buffer || 0;
let buffer = this.bufferContents[bufferIndex];
if (buffer === null) {
if (buffer === undefined || buffer === null) {
return null;
}