Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check asset existence to detect glTF version #11959

Merged
merged 1 commit into from
Aug 16, 2017

Conversation

takahirox
Copy link
Collaborator

asset isn't required in glTF 1.0
https://github.com/KhronosGroup/glTF/tree/master/specification/1.0#gltf
so we need to check if it exists.

asset is required in 2.0, so if it doesn't exist the glTF should be 1.0.
https://github.com/KhronosGroup/glTF/tree/master/specification/2.0#gltf

/cc @donmccurdy

#11951

@mrdoob mrdoob merged commit 5974160 into mrdoob:dev Aug 16, 2017
@mrdoob
Copy link
Owner

mrdoob commented Aug 16, 2017

Thanks!

@takahirox takahirox deleted the FixGLTF2Loader branch August 16, 2017 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants