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

Fixes #100 bug in MeshIO when writing OptionalColorNormalMesh without normals but with color #101

Merged
merged 2 commits into from
Apr 6, 2018

Conversation

Andreas-Forster
Copy link
Member

The change in the behavior is, that given there is color given as a TextureMappedProperty[RGBA] but no normals, we calculate the vertex normals based on the shape before writing the mesh to disk. This solves that given color but no normals only the shape was written to disk.

@Andreas-Forster Andreas-Forster changed the title Fixex #100 bug in MeshIO when writing OptionalColorNormalMesh without normals but with color Fixes #100 bug in MeshIO when writing OptionalColorNormalMesh without normals but with color Apr 6, 2018
Copy link

@andreas-schneider andreas-schneider left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@andreas-schneider andreas-schneider merged commit 6e2dfc9 into master Apr 6, 2018
@Andreas-Forster Andreas-Forster deleted the fixColorNotWrittenForMissingNormals branch April 6, 2018 19:12
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