diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-07-16 04:40:12 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-07-16 04:40:12 +0400 |
commit | 6026f133f23f5ff610720c60d4e21efeb9219808 (patch) | |
tree | b77b197d5702aa530feca5fb4be19d4cefa3c17a /source | |
parent | e68618a5f2583bb3ff351727cd784cbff8c17c5c (diff) |
fix for the tip of the bones without connected children de-selecting when entering editmode.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/armature/armature_utils.c | 13 |
1 files changed, 2 insertions, 11 deletions
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; } } |