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

Fix blendshapes and calculation of bone_aabbs #44649

Merged
merged 1 commit into from
Dec 24, 2020

Conversation

lyuma
Copy link
Contributor

@lyuma lyuma commented Dec 24, 2020

We found that meshes with a skeleton do not show any blendshapes.

Blendshapes without a skeleton already worked.
However, due to a faulty ERR_FAIL_COND, it was impossible to create a mesh with both bones and blendshapes.
This also fixes an assumption that all surfaces reference the same number of bones as surface 0.

fixes #44648

Blendshapes without a skeleton already worked.
However, due to a faulty ERR_FAIL_COND, it was impossible to create a mesh with both bones and blendshapes.
This also fixes an assumption that all surfaces reference the same number of bones as surface 0.
@RevoluPowered
Copy link
Contributor

I had done this in my branch locally, and this fix works for me to prevent the crash. I hadn't bothered making a PR yet, wasn't sure if it was the correct fix but I guess it is :)

@akien-mga akien-mga merged commit ecda989 into godotengine:master Dec 24, 2020
@akien-mga
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Skinned models with Blendshapes do not import correctly.
5 participants