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 loading avatars with interleaved buffers (#159) #161

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

MarcusLongmuir
Copy link
Contributor

Resolves #159 (incidentally).

This PR resolves an issue where avatars that have been loaded as gLTF files that use interleaved buffers would be visually corrupted by the process of remapping the bone indices of child models to the parent model's bone indices because the code reading the buffer did not account for interleaved buffers and would read the data relating to other attributes as bone indices.

The change in this PR is to use accessors on the relevant classes rather than reading the array directly.

What kind of change does your PR introduce? (check at least one)

  • Bugfix

Does your PR fulfill the following requirements?

  • The title references the corresponding issue # (if relevant)

@MarcusLongmuir MarcusLongmuir merged commit f0a158e into main Jul 17, 2024
5 checks passed
@MarcusLongmuir MarcusLongmuir deleted the bugfix/avatar-mesh-loading branch July 17, 2024 10:31
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.

[Bug] Loading avatars in sequence does not clear previous
2 participants