STEAM GROUP
Blender Source Tools BleST
STEAM GROUP
Blender Source Tools BleST
328
IN-GAME
2,020
ONLINE
Founded
8 November, 2013
All Discussions > Bug Reports > Topic Details
NimrodX 20 Aug, 2014 @ 6:35pm
Odd export bug [fixed]
I'm running into this error when trying to export a scene:

Traceback (most recent call last): File "C:\Users\Robert\AppData\Roaming\Blender Foundation\Blender\2.71\scripts\addons\io_scene_valvesource\export_smd.py", line 194, in execute File "C:\Users\Robert\AppData\Roaming\Blender Foundation\Blender\2.71\scripts\addons\io_scene_valvesource\export_smd.py", line 409, in exportId bone_parents = collections.defaultdict(list) File "C:\Users\Robert\AppData\Roaming\Blender Foundation\Blender\2.71\scripts\addons\io_scene_valvesource\export_smd.py", line 804, in writeSMD for mod in id.modifiers: File "C:\Users\Robert\AppData\Roaming\Blender Foundation\Blender\2.71\scripts\addons\io_scene_valvesource\export_smd.py", line 419, in getWeightmap IndexError: list index out of range location: <unknown location>:-1

This might have something to do with me using an Armature modifier with a single bone. (There are no weights because the bone is only used as an attachment point.)

The blend file where this happens is here: https://www.dropbox.com/s/2asrbq3qjhr0ilu/exportbug.blend

This was happening in the previous version of the export plugin as well, but I hadn't gotten around to reporting it. A workaround appears to be to export single objects one at a time and not the whole scene at once.
Last edited by NimrodX; 21 Oct, 2014 @ 1:52pm
< >
Showing 1-5 of 5 comments
Artfunkel 21 Aug, 2014 @ 12:04pm 
Thanks, fixed it.[steamreview.org]
NimrodX 21 Aug, 2014 @ 10:53pm 
awesome. thanks. is the fix in the current download?
Artfunkel 22 Aug, 2014 @ 1:16am 
It wouldn't be anywhere else. :)
Zappy 17 Oct, 2014 @ 12:34pm 
Hm. I think you forgot to append "[FIXED]" to the start of the title after fixing this, Artfunkel (and/or NimrodX), making it seem like an unfixed bug when browsing bug reports...
NimrodX 21 Oct, 2014 @ 1:52pm 
ok, added [fixed]
< >
Showing 1-5 of 5 comments
Per page: 1530 50

All Discussions > Bug Reports > Topic Details