StjerneIdioten / I3D-Blender-Addon

Rewriting the I3D blender addon from scratch and adding long-sought community features
GNU General Public License v3.0
66 stars 18 forks source link

Exporting an object with an empty material slot throws an exception #97

Open StjerneIdioten opened 3 years ago

StjerneIdioten commented 3 years ago

Describe the bug When you export an object, which has a material slot. But no material assigned to that slot, it will throw an AttributeError exception.

Log file image

Screenshots If applicable, add screenshots to help explain your problem. image

Proposed Solution Create a check and throw an appropriate warning message instead