KhronosGroup / glTF-Sample-Viewer

Physically-Based Rendering in glTF 2.0 using WebGL
Apache License 2.0
1.29k stars 238 forks source link

Problem with drag-and-drop models #572

Closed emackey closed 3 months ago

emackey commented 3 months ago

If you drag-and-drop a GLB file onto Sample Viewer (even just the sample Box.glb file), an error is briefly visible:

TypeError: model.mainFile[1].bytes is not a function

This doesn't appear to hurt anything, but it probably shouldn't appear at all.