Skip to content

Conversation

@brccabral
Copy link

Hi,
When parsing a 'f' line the first non junk character was skipping resulting in a crash when loading .obj files.

f 2/3 4/7 1/5

The number 2 was skipping.

Checking for nTokenCount first solves the issue.

In the CGE tutorial there was no size() check. I kept it because maybe there is a scenario where it is needed.

Thanks,
Bruno

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.

1 participant