KK-Blender-Porter-Pack
KK-Blender-Porter-Pack copied to clipboard
Models are not imported correctly
*operating environment koikatsu ver5.6.2.37.180 kkapi ver v1.33 blender v3.1 kkbp pluginupdate 1a9a97a
*Error Description
I am getting an error when I output the attached character file and load it in blender.
We have enabled "export all variations" when outputting the file.
The imported model was not textured at all.
I have checked it well this time, thank you in advance.
*error log
Python: Traceback (most recent call last):
File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\KK-Blender-Shader-Pack-pluginupdate\importing\importbuttons.py", line 68, in execute
bpy.ops.kkb.separatebody('INVOKE_DEFAULT'),
File "D:\Steam\steamapps\common\Blender\3.1\scripts\modules\bpy\ops.py", line 130, in __call__
ret = _op_call(self.idname_py(), C_dict, kw, C_exec, C_undo)
RuntimeError: エラー: Python: Traceback (most recent call last):
File "C:\user\user\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\KK-Blender-Shader-Pack-pluginupdate\importing\separatebody.py", line 454, in execute
make_tear_shapekeys()
File "C:\user\user\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\KK-Blender-Shader-Pack-pluginupdate\importing\separatebody.py", line 287, in make_tear_shapekeys
body.data.shape_keys.key_blocks["Key " + str(last_shapekey)].name = "Tear small"
KeyError: 'bpy_prop_collection[key]: key "Key 116" not found'
location: D:\Steam\steamapps\common\Blender\3.1\scripts\modules\bpy\ops.py:130
``
`
We have confirmed that the import was successful with the latest version.40f63f1 Thanks for the fix.