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

Fix export error when exporting "Everything" #202

Closed NMC-TBone closed 9 months ago

NMC-TBone commented 9 months ago

When exporting "Everything", the collections will be added as transform groups in the final .i3d file, referenceId property is not assigned for collections obviously so that caused a export fail.

Fixed by simple checking if the blender_object is not a collection before calling _add_reference_file.