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

This commit is contained in:
Joshua Leung 2017-11-20 02:55:17 +13:00
parent e2585c2342
commit 6f578740ef
Notes: blender-bot 2023-02-14 06:24:16 +01:00
Referenced by issue #53683, 2.79a release
Referenced by issue #53300, Bone Extrude via Ctrl + clic is not done from active bone tail
1 changed files with 1 additions and 0 deletions

View File

@ -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;