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

UnboundLocalError: local variable 'outlineStart' referenced before assignment

Open AsukaWhite opened this issue 2 years ago • 2 comments

Card link: https://www.pixiv.net/artworks/101225204 Exported from KKS with v6, import into blender 3.0 issue: """ line 982, in add_outlines mod.material_offset = outlineStart UnboundLocalError: local variable 'outlineStart' referenced before assignment """ is it better to use this on kk instead of kks?

AsukaWhite avatar Sep 28 '22 15:09 AsukaWhite

Try using the master branch instead of the V6 release, there was a fix for this made after V6 was released

MediaMoots avatar Sep 28 '22 15:09 MediaMoots

This question is solved. but generated lots of "Outline_" materials for outfit.

AsukaWhite avatar Sep 29 '22 05:09 AsukaWhite

Well yeah, i think if you use Single outline then only one outline material will be made.

MediaMoots avatar Sep 30 '22 06:09 MediaMoots

ok,did not realize that function. Could you check the posted card ? I exported this chara but the head is obviously different from game, not as sharp as in game...

AsukaWhite avatar Oct 02 '22 10:10 AsukaWhite

Looks ok to me? image

MediaMoots avatar Oct 03 '22 05:10 MediaMoots