STEAM 组
Blender Source Tools BleST
STEAM 组
Blender Source Tools BleST
344
游戏中
2,062
在线
成立于
2013 年 11 月 8 日
所有讨论 > Bug Reports > 主题详情
index 2020 年 12 月 5 日 上午 2:00
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
引用自 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.
< >
正在显示第 1 - 2 条,共 2 条留言
该讨论串的作者已表示此帖子解答了原先的主题。
ZeqMacaw 2020 年 12 月 5 日 上午 8:59 
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 2020 年 12 月 5 日 上午 9:15 
With crowbar just updated to 0.71 I was able to import it finally, so it must have been crowbar.
最后由 index 编辑于; 2020 年 12 月 5 日 上午 9:17
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50

所有讨论 > Bug Reports > 主题详情