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

Editor determines GLTF version and uses appropriate loader #13333

Closed
wants to merge 1 commit into from

Conversation

1d2d3d
Copy link

@1d2d3d 1d2d3d commented Feb 14, 2018

Hi! In my first pull request, I expanded the LegacyGLTFLoader's ability to handle vertex attributes (that is, that code's on another git branch), and tested it by slightly modifying the three.js editor (that's the code on this git branch).

The argument order for the parse() function's second and third arguments was reversed between the editor's and the legacy loader's code, so in order to test with the editor, I patched that in the other branch.

This branch contains the editor changes that allow it to open both GLTF 1 and 2 files. Please note that will only work if the parse() argument-swap in the other branch is in place, so if you decide not to accept my previous pull request, you can ignore this pull request.

@mrdoob mrdoob added this to the r91 milestone Feb 17, 2018
@donmccurdy
Copy link
Collaborator

Fixed by #13339.

@donmccurdy donmccurdy closed this Mar 14, 2018
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