From 6026f133f23f5ff610720c60d4e21efeb9219808 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 16 Jul 2013 00:40:12 +0000 Subject: fix for the tip of the bones without connected children de-selecting when entering editmode. --- source/blender/editors/armature/armature_utils.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'source') diff --git a/source/blender/editors/armature/armature_utils.c b/source/blender/editors/armature/armature_utils.c index cfee6c34600..5173bc66e99 100644 --- a/source/blender/editors/armature/armature_utils.c +++ b/source/blender/editors/armature/armature_utils.c @@ -337,18 +337,9 @@ EditBone *make_boneList(ListBase *edbo, ListBase *bones, EditBone *parent, Bone } else { /* if the bone is not selected, but connected to its parent - * copy the parents tip selection state */ + * always use the parents tip selection state */ if (eBone->parent && (eBone->flag & BONE_CONNECTED)) { - /* selecting with the mouse gives this behavior */ - if (eBone->parent->flag & BONE_TIPSEL) { - eBone->flag |= BONE_ROOTSEL; - } - else { - eBone->flag &= ~BONE_ROOTSEL; - } - - /* probably not selected but just in case */ - eBone->flag &= ~BONE_TIPSEL; + eBone->flag &= ~BONE_ROOTSEL; } } -- cgit v1.2.3