DwM: Armature: refine drawing condition of envelope distance outline.
Should match better original 2.7x behavior now.
This commit is contained in:
parent
c75cde31db
commit
5919919955
|
@ -1028,7 +1028,9 @@ static void draw_bone_envelope(
|
|||
rad_head = (pchan->parent && (boneflag & BONE_CONNECTED)) ? &pchan->parent->bone->rad_tail : &pchan->bone->rad_head;
|
||||
}
|
||||
|
||||
if (boneflag & BONE_SELECTED) {
|
||||
if ((boneflag & BONE_NO_DEFORM) == 0 &&
|
||||
((boneflag & BONE_SELECTED) || (eBone && (boneflag & (BONE_ROOTSEL | BONE_TIPSEL)))))
|
||||
{
|
||||
DRW_shgroup_bone_envelope_distance(BONE_VAR(eBone, pchan, disp_mat), col_white, rad_head, rad_tail, distance);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue