Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-07-16 04:40:12 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-07-16 04:40:12 +0400
commit6026f133f23f5ff610720c60d4e21efeb9219808 (patch)
treeb77b197d5702aa530feca5fb4be19d4cefa3c17a
parente68618a5f2583bb3ff351727cd784cbff8c17c5c (diff)
fix for the tip of the bones without connected children de-selecting when entering editmode.
-rw-r--r--source/blender/editors/armature/armature_utils.c13
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;
}
}