meshport
meshport copied to clipboard
materials.py not working on Blender 4.x
KeyError: "bpy_prop_collection[key]: key "Specular" not found"
Apparently, they renamed it in 4.0. After a bit of googling I found this solution for IO PDX MESH, which turned out to be applicable here as well.
As a quick-fix, on line 50: prin.inputs["Specular IOR Level"].default_value = 0
After applying it, the script worked fine.