[Blender Plugin] Failing to export

Report issues and bugs here.
User avatar
Posts: 34
Joined: Thu Dec 07, 2017 8:06 pm

[Blender Plugin] Failing to export

Unread post by Instant » Tue Jun 26, 2018 5:53 pm

Blender gives this error message whenever there is an object with no mesh data.

Code: Select all

Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\io_revolt\operators.py", line 168, in execute
    return exec_export(self.filepath, context)
  File "C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\io_revolt\operators.py", line 259, in exec_export
    w_out.export_file(filepath, scene)
  File "C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\io_revolt\w_out.py", line 54, in export_file
    mesh = export_mesh(me, obj, scene, filepath, world=world)
  File "C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\io_revolt\prm_out.py", line 237, in export_mesh
    rvbbox = rvbbox_from_bm(bm)
  File "C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\io_revolt\common.py", line 293, in rvbbox_from_bm
    return rvbbox_from_verts(bm.verts)
  File "C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\io_revolt\common.py", line 297, in rvbbox_from_verts
    xlo = min(v.co[0] for v in verts) / SCALE
ValueError: min() arg is an empty sequence

location: <unknown location>:-1
Last edited by Instant on Wed Aug 22, 2018 3:48 am, edited 1 time in total.
User avatar
Posts: 350
Joined: Thu Dec 07, 2017 9:04 pm

Re: [Blender plugin] Failing to export

Unread post by Kiwi » Tue Jun 26, 2018 9:05 pm

Yes, I also experienced this some days ago. I have forgot to report this, good that it is archived here now.
User avatar
Site Admin
Posts: 198
Joined: Mon Dec 04, 2017 6:45 pm
Location: /home/marv

Re: [Blender plugin] Failing to export

Unread post by Marv » Wed Jun 27, 2018 8:14 am

This basically means that one exported object doesn't have any vertices and thus fails to generate any bounding boxes. I'll implement a better check so that these objects will be excluded from export in the future.
Post Reply