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 issue # 2571: extra layer for multi uv sets #2572

Merged
merged 2 commits into from
Jul 28, 2019

Conversation

thomasbiang
Copy link
Contributor

This pull request is to fix issue 2571 #2571

A scene with mesh that has two uv sets. When loaded using aiImport, it shows correctly. Somehow after aiExport and re-import again use aiImport, there is one uv map left. I think the aiImport is working correctly as originally the two uv sets are all imported. But after aiExport, one uv gets lost.

After diving into the FBXExport.cpp code, it seems multi uv sets is a TODO task (comments in code). To fix that, just add extra LayerElementUV for extra uv map.

@kimkulling kimkulling merged commit 6926527 into assimp:master Jul 28, 2019
@kimkulling
Copy link
Member

Merged, thanks a lot for the contribution.

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.

None yet

3 participants