FlailingFog / KK-Blender-Porter-Pack

Plugin pack for exporting Koikatsu characters to Blender.
Other
373 stars 30 forks source link

ZeroDivisionError: float division by zero while importing. #635

Open Atuocorrect opened 14 hours ago

Atuocorrect commented 14 hours ago

Koikatsu character card that causes the issue: Koikatu_F_20240928182504844_Glum Anraki-san

Error thingy: Error: Unknown python error occurred. Make sure the default model imports correctly before troubleshooting on this model!

Traceback (most recent call last): File "C:\Users\gacha\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\user_default\kkbp\importing\modifymaterial.py", line 59, in execute self.link_textures_for_body() File "C:\Users\gacha\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\user_default\kkbp\importing\modifymaterial.py", line 548, in link_textures_for_body bpy.data.node_groups['Eye Textures positioning'].nodes['eye_scale'].inputs[1].default_value = 1/float(face_data[18]['Value']) ~^~~~~~~~~~ ZeroDivisionError: float division by zero

the default female works and so does other models i've imported. blender 4.2.2 LTS KKBP importer:7.1.0 exporter:4.30 Koikatsu: BetterRepackRX21. this may just be an 'i don't understand blender and stuff' issue. :)