STEAM GROUP
Blender Source Tools BleST
STEAM GROUP
Blender Source Tools BleST
219
IN-GAME
1,530
ONLINE
Founded
8 November, 2013
All Discussions > Bug Reports > Topic Details
index 5 Dec, 2020 @ 2:00am
Error importing an .smd
I don't know if it's a problem with the model itself, because I tested other models and they import fine but this particular model gives me errors:
Python: Traceback (most recent call last): File "C:\Users\xxx\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\io_scene_valvesource\import_smd.py", line 72, in execute self.num_files_imported = self.readSMD(filepath, self.properties.upAxis, self.properties.rotMode) File "C:\Users\xxx\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\io_scene_valvesource\import_smd.py", line 1241, in readSMD if line == "triangles\n": self.readPolys() File "C:\Users\xxx\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\io_scene_valvesource\import_smd.py", line 721, in readPolys norm[i-1] = float(values[i+3]) IndexError: list index out of range location: <unknown location>:-1
Originally posted by ZeqMacaw:
I downloaded the linked workshop item, decompiled the survivor model with Crowbar 0.68, and imported the QC into Blender 2.91.0 via Blender Source Tools 3.1.0. All meshes and shape keys imported without error.

I also imported just the main body mesh and the hair mesh SMDs into a clear Blender, and they imported without error.

Maybe you decompiled the model with an older version of Crowbar that had a bug with decompiling that model.
< >
Showing 1-2 of 2 comments
The author of this thread has indicated that this post answers the original topic.
ZeqMacaw 5 Dec, 2020 @ 8:59am 
I downloaded the linked workshop item, decompiled the survivor model with Crowbar 0.68, and imported the QC into Blender 2.91.0 via Blender Source Tools 3.1.0. All meshes and shape keys imported without error.

I also imported just the main body mesh and the hair mesh SMDs into a clear Blender, and they imported without error.

Maybe you decompiled the model with an older version of Crowbar that had a bug with decompiling that model.
index 5 Dec, 2020 @ 9:15am 
With crowbar just updated to 0.71 I was able to import it finally, so it must have been crowbar.
Last edited by index; 5 Dec, 2020 @ 9:17am
< >
Showing 1-2 of 2 comments
Per page: 1530 50

All Discussions > Bug Reports > Topic Details