Wrong texture lookup - PbrMetallicRoughness class uses index of texture to lookup image
jclarkk opened this issue · comments
wrong_lookup.zip
Hey,
In the attached example it seems like the code in Material.py is using the index here:
Material[6]['pbrMetallicRoughness']['baseColorTexture']['index']
To find the image which leads to an error since the index should be used to find the texture object in 'textures'.
@jclarkk good catch, I'll work on a fix for this
Great, thanks!