patch [#37231] Bone fill sets bone to connected, even if neither of its points is at the tail point of points it's connecting.

from Henrik Aarnio (hjaarnio)
This commit is contained in:
Campbell Barton 2013-10-28 23:45:36 +00:00
parent f0780904bc
commit c11afb4a81

@ -583,8 +583,11 @@ static int armature_fill_bones_exec(bContext *C, wmOperator *op)
else
newbone->parent = ebp2->head_owner;
}
newbone->flag |= BONE_CONNECTED;
/* don't set for bone connecting two head points of bones */
if (ebp->tail_owner || ebp2->tail_owner) {
newbone->flag |= BONE_CONNECTED;
}
}
}
else {