Failed to export .xml: AttributeError: 'NoneType' object has no attribute 'write_ply'
zitianlll opened this issue · 3 comments
AttributeError: 'NoneType' object has no attribute 'write_ply'
Bug Description
I failed to export a .blend file to .xml file even though I tried different verions of blender and mitsuba-blender.
To Reproduce
Steps to reproduce the behavior:
- Go to File
- Click on Export
- Scroll down to Mitsuba(.xml)
- See error
Expected behavior
export .xml successfully
Environment (please complete the following information):
- OS: Win11
- Blender Version: 3.6.9, 3.3.0, 3.6.0, 3.3.9
- Add-on Version: latest
Hi,
Can you please share a minimal blend file that reproduces this issue so we can look into it ?
Thank you for the reproducer. I pushed a fix that should resolve this issue. You can get them by downloading the "Nightly" pre-release on the Releases page.
That said, it seems that you are using some plugin to generate some of the meshes in the scene, which is not supported by the addon. So most of the geometry in the scene will now be ignored. You probably want to convert that geometry to "regular" meshes before exporting.