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

Fix loading multiple textures with the same file name with addSimpleTexture. #1644

Merged
merged 1 commit into from
Oct 3, 2023

Conversation

leMaik
Copy link
Member

@leMaik leMaik commented Oct 3, 2023

When using addSimpleTexture or the @TexturePath annotation, textures are deduped by their filename (not their path). This causes eg. mangrove sign textures not to load if the hanging/mangrove.png texture was already loaded.

Fixes bamboo, cherry and mangrove signs. Regression probably introduced by #1600

@leMaik leMaik merged commit 98d69c2 into chunky-dev:master Oct 3, 2023
1 check passed
@leMaik leMaik deleted the fix/load-textures-same-filename branch October 3, 2023 13:44
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