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

Meshes getting the same name if having no or the same name #29

Open
carlberyeur opened this issue May 12, 2020 · 1 comment
Open

Meshes getting the same name if having no or the same name #29

carlberyeur opened this issue May 12, 2020 · 1 comment

Comments

@carlberyeur
Copy link

image

As you see here, the continue statement does nothing. All files get named "_2". My solution to this was to write it like this:

image

Thanks for an otherwise great obj loader :)

@jlaumon
Copy link

jlaumon commented Dec 28, 2021

I'm guessing you also need to increment i somewhere in that while loop

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

No branches or pull requests

2 participants