chunky-dev / chunky

A path tracer to create realistic images of your Minecraft worlds.
https://chunky-dev.github.io/docs
GNU General Public License v3.0
637 stars 76 forks source link

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

Closed leMaik closed 10 months ago

leMaik commented 10 months ago

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