You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 27, 2018. It is now read-only.
Note that this repository is a mirror of the GLTF(2)Loader file from the threejs repository. I believe this issue has already been fixed in the official copy, you may want to try there.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hey, sorry if I dont provide a patch but im in a bit of hurry
Anyway, file https://raw.githubusercontent.com/antonio-gomez/three-gltf2-loader/master/lib/main.js
Used "as is" with GLTF2 models (downloaded from different sources, like sketchfab) give the error "Uncaught SyntaxError: Unexpected end of JSON input (GLTF2Loader.js:69)"
Solved changed this piece of code:
into this:
(just check if it is already valid Json)
I'll submit a patch in the next days as soon as i'll find some time ;)
The text was updated successfully, but these errors were encountered: