[Bf-blender-cvs] [6f578740ef1] master: Fix T53300: Bone Extrude via Ctrl + Click is not done from active bone tail

Joshua Leung noreply at git.blender.org
Sun Nov 19 14:55:28 CET 2017


Commit: 6f578740ef1b29723d37e9ec09721f58879615c1
Author: Joshua Leung
Date:   Mon Nov 20 02:55:17 2017 +1300
Branches: master
https://developer.blender.org/rB6f578740ef1b29723d37e9ec09721f58879615c1

Fix T53300: Bone Extrude via Ctrl + Click is not done from active bone tail

===================================================================

M	source/blender/editors/armature/armature_add.c

===================================================================

diff --git a/source/blender/editors/armature/armature_add.c b/source/blender/editors/armature/armature_add.c
index e419100bd04..3d0981ea6c8 100644
--- a/source/blender/editors/armature/armature_add.c
+++ b/source/blender/editors/armature/armature_add.c
@@ -945,6 +945,7 @@ static int armature_extrude_exec(bContext *C, wmOperator *op)
 	}
 	/* if only one bone, make this one active */
 	if (totbone == 1 && first) arm->act_edbone = first;
+	else arm->act_edbone = newbone;
 
 	if (totbone == 0) return OPERATOR_CANCELLED;



More information about the Bf-blender-cvs mailing list