Skip to content

Conversation

@looeee
Copy link
Collaborator

@looeee looeee commented Jul 9, 2019

Fix for #15866

It seems like morphtargets can be defined at two places for a geometry:

  1. deformers.morphTargets

  2. deformers.morphTargets[ ID ].rawTargets

Note that I'm now assuming that once deformers.morphTargets[ ID ] has been matched to a geometry ID, then all the rawTargets will match that geometry. All models I have for testing work fine with this assumption, but we might need to add an additional check here at some point.

@mrdoob mrdoob added this to the r109 milestone Sep 14, 2019
@mrdoob mrdoob merged commit f4c960c into mrdoob:dev Sep 14, 2019
@mrdoob
Copy link
Owner

mrdoob commented Sep 14, 2019

Thanks!

@looeee looeee deleted the fbxloader_morphtargets_fix branch June 30, 2020 02:32
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.

2 participants