leMaik / chunky

Photorealistic image renderer for Minecraft 1.2.1+
https://chunky.lemaik.de
GNU General Public License v3.0
40 stars 1 forks source link

Fix NPE and suppress duplicates #17

Closed NJDaeger closed 2 years ago

NJDaeger commented 4 years ago

There was a NullPointerException being thrown when some models were being rendered. I believe it is because not all faces of the model have a texture file which correlates to the defined texture- many programs give them "dummy" texture file names just to fill it in. Eg. the texture can be -1 even though there is no -1.png.

leMaik commented 2 years ago

Thank you, I cherry picked this on top of the latest rebase. :raised_hands: