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

GLTFLoader: Support morph targetNames #13367

Merged
merged 2 commits into from
Feb 20, 2018

Conversation

takahirox
Copy link
Collaborator

Blender and GLTFExporter store morph target names into mesh.extra as suggested in glTF spec issue thread. It isn't glTF core spec yet but I wanna enable GLTFLoader to load it.

#13366
KhronosGroup/glTF-Blender-Exporter#153
KhronosGroup/glTF#1036

@@ -1205,6 +1205,17 @@ THREE.GLTFLoader = ( function () {

}

// .extras has user defined data so just in case cheking if .extras.targetNames is array.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor: would say .extras has user-defined data, so check that .extras.targetNames is an array.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated. Thanks for always correcting my English!

@mrdoob mrdoob added this to the r91 milestone Feb 20, 2018
@mrdoob mrdoob merged commit 64e62fa into mrdoob:dev Feb 20, 2018
@mrdoob
Copy link
Owner

mrdoob commented Feb 20, 2018

Thanks!

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