From 2462d4976ba65a8639445b19e8ac13df7ef1a9fa Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 22 Aug 2010 10:52:30 +0000 Subject: possible fix [#23331] Hidden Bones Contribute to Axis Normal cant redo this bug but noticed a number of places where bone selection/hidden state isn't being set properly. --- source/blender/editors/transform/transform_manipulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/transform/transform_manipulator.c') diff --git a/source/blender/editors/transform/transform_manipulator.c b/source/blender/editors/transform/transform_manipulator.c index 27c3f056b9b..396cb15e61a 100644 --- a/source/blender/editors/transform/transform_manipulator.c +++ b/source/blender/editors/transform/transform_manipulator.c @@ -288,7 +288,7 @@ int calc_manipulator_stats(const bContext *C) bArmature *arm= obedit->data; EditBone *ebo; for (ebo= arm->edbo->first; ebo; ebo=ebo->next){ - if(ebo->layer & arm->layer) { + if(ebo->layer & arm->layer && !(ebo->flag & BONE_HIDDEN_A)) { if (ebo->flag & BONE_TIPSEL) { calc_tw_center(scene, ebo->tail); totsel++; -- cgit v1.2.3