Fix: Manipulator visible if root or tip of locked bone is selected
When an edit-bone was locked, we hid the transform manipulator for it. But only if the bone itself was selected, not when the root or tip were selected, even though they are locked then too. So this makes sure the manipulator is shown in neither case.
This commit is contained in:
parent
e15ab630c6
commit
7c88d84515
|
@ -888,7 +888,7 @@ int ED_transform_calc_gizmo_stats(const bContext *C,
|
|||
calc_tw_center_with_matrix(tbounds, ebo->head, use_mat_local, mat_local);
|
||||
totsel++;
|
||||
}
|
||||
if (ebo->flag & BONE_SELECTED) {
|
||||
if (ebo->flag & (BONE_SELECTED | BONE_ROOTSEL | BONE_TIPSEL)) {
|
||||
protectflag_to_drawflags_ebone(rv3d, ebo);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue