forked from bartvdbraak/blender
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:
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user