OSDN Git Service

fix bone tail.
[meshio/meshio.git] / swig / blender / pmd_import.py
index f2d32e0..206a614 100755 (executable)
@@ -327,6 +327,7 @@ def __build(armature, b, p, parent):
     bone=bl.armature.createBone(armature, name)
 
     if parent and (b.tail_index==0 or b.type==6 or b.type==7 or b.type==9):
+        # 先端ボーン
         bone.head = bl.createVector(*convert_coord(b.pos))
         bone.tail=bone.head+bl.createVector(0, 1, 0)
         bone.parent=parent