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 primitive rendering mode in cgltf_write #244

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

bowald
Copy link
Contributor

@bowald bowald commented Jan 19, 2024

Adds a translation from cgltf_primitive_type to gltf primitive rendering mode in the writer.

This PR is a fix for the issue #243.

The bug was introduced when cgltf_primitive_type was added in commit afe4d3a and resulted in rendering mode was offset by one in the written file.

Thanks for a great library!

Adds a translation from cgltf_primitive_type to gltf primitive rendering
mode in the writer.
@jkuhlmann jkuhlmann merged commit 7331a5a into jkuhlmann:master Jan 24, 2024
3 checks passed
@zeux
Copy link
Contributor

zeux commented Jan 25, 2024

Sorry about the regression, and thanks for the fix!

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.

3 participants