From 7c88d845157ee290b1802a071a5d1aad5be63b17 Mon Sep 17 00:00:00 2001 From: Julian Eisel Date: Thu, 10 Oct 2019 15:06:11 +0200 Subject: 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. --- source/blender/editors/transform/transform_gizmo_3d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/transform/transform_gizmo_3d.c') diff --git a/source/blender/editors/transform/transform_gizmo_3d.c b/source/blender/editors/transform/transform_gizmo_3d.c index 65fd9c6f5e9..e4fca2bb6be 100644 --- a/source/blender/editors/transform/transform_gizmo_3d.c +++ b/source/blender/editors/transform/transform_gizmo_3d.c @@ -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); } } -- cgit v1.2.3