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

[rmodels] Add a warning when loading an OBJ with multiple materials. #4271

Merged
merged 18 commits into from
Aug 21, 2024

Conversation

JeffM2501
Copy link
Contributor

When loading an OBJ file with multiple materials raylib ignores the material assignments per issue #3576
This is a bug but requires a much larger fix.
This PR simply adds a warning if multiple materials are detected so the user can know that they will not be correct.
Once the larger fix is done this code will be removed.
This is just to reduce confusion until that code can be replaced.

@raysan5 raysan5 merged commit c8bee7c into raysan5:master Aug 21, 2024
14 checks passed
@raysan5
Copy link
Owner

raysan5 commented Aug 21, 2024

@JeffM2501 thanks for the review!

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.

2 participants