Uncaught TypeError when using .glb #96
This commit is contained in:
parent
3a03b3c1e7
commit
14833e40a9
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user