[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [58301] trunk/blender/source/blender/ editors/armature/armature_utils.c: fix for the tip of the bones without connected children de-selecting when entering editmode .

Campbell Barton ideasman42 at gmail.com
Tue Jul 16 02:40:13 CEST 2013


Revision: 58301
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=58301
Author:   campbellbarton
Date:     2013-07-16 00:40:12 +0000 (Tue, 16 Jul 2013)
Log Message:
-----------
fix for the tip of the bones without connected children de-selecting when entering editmode.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/armature/armature_utils.c

Modified: trunk/blender/source/blender/editors/armature/armature_utils.c
===================================================================
--- trunk/blender/source/blender/editors/armature/armature_utils.c	2013-07-16 00:39:55 UTC (rev 58300)
+++ trunk/blender/source/blender/editors/armature/armature_utils.c	2013-07-16 00:40:12 UTC (rev 58301)
@@ -337,18 +337,9 @@
 		}
 		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;
 			}
 		}
 		




More information about the Bf-blender-cvs mailing list