FlailingFog / KK-Blender-Porter-Pack

Plugin pack for exporting Koikatsu characters to Blender.
Other
365 stars 31 forks source link

Cards that have no rigged skirt make the blender plugin cause errors. #217

Closed TheMaskedMan00 closed 2 years ago

TheMaskedMan00 commented 2 years ago

I looked into the errors and it seems that bonedrivers.py will look for the skirt bones so it can add them to a separate armature layer, but if there are no skirt bones then it will just throw an error. I think the cause is these lines
https://github.com/FlailingFog/KK-Blender-Porter-Pack/blob/master/importing/bonedrivers.py#L679-L684

FlailingFog commented 2 years ago

I don't think it's used in anything else, so I'll add a try catch around those lines