Skip to content

Fix vertex format exception#86

Merged
greenmoss merged 1 commit intopywavefront:masterfrom
Oliv4945:fixVertexFormatException
Jan 17, 2019
Merged

Fix vertex format exception#86
greenmoss merged 1 commit intopywavefront:masterfrom
Oliv4945:fixVertexFormatException

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

Comments