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

Fixed morph targets to not be 0 index based #1110

Merged

Conversation

SergioRZMasson
Copy link
Contributor

@SergioRZMasson SergioRZMasson commented Jan 25, 2024

It looks like Max Script has some strange behavior regarding morph targets indexes. It does not start at 0 but if you ask for index 0 it returns the first element in the array. This was not been considerer when getting morph information from Max Script.

This fixes the following forum issue: https://forum.babylonjs.com/t/3ds-max-export-with-morph-attributes-missing-some-morph-attributes-targets/47051/8

@SergioRZMasson SergioRZMasson merged commit c31ed63 into BabylonJS:master Jan 25, 2024
5 checks passed
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