Skip to content

Fix vertex format exception #86

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

Merged
merged 1 commit into from
Jan 17, 2019

Conversation

Oliv4945
Copy link

Correct the exception, allows user to get the unsupported type instead of None

@greenmoss
Copy link
Collaborator

Looks good. Can you paste in the exception you were seeing without this fix? Then I will merge.

@Oliv4945
Copy link
Author

The message was Vertex format None not supported by pyglet because it was using VERTEX_FORMATS.get(material.vertex_format) instead of material.vertex_format

@einarf
Copy link
Member

einarf commented Jan 16, 2019

Merge asap to cover up my sins! 😄

@greenmoss greenmoss merged commit aa916a3 into pywavefront:master Jan 17, 2019
@greenmoss
Copy link
Collaborator

Merged and released 1.0.3; thanks!

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.

4 participants