KK-Blender-Porter-Pack icon indicating copy to clipboard operation
KK-Blender-Porter-Pack copied to clipboard

Models are not imported correctly

Open waomodder opened this issue 2 years ago • 1 comments

*operating environment koikatsu ver5.6.2.37.180 kkapi ver v1.33 blender v3.1 kkbp pluginupdate 1a9a97a

*Error Description Koikatu_F_20200425231757780_花寺 のどか 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.

KKBP_bug

*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

``
`

waomodder avatar Jun 07 '22 09:06 waomodder

We have confirmed that the import was successful with the latest version.40f63f1 Thanks for the fix.

waomodder avatar Jun 08 '22 09:06 waomodder