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 committed by Bastien Montagne
parent 6cfc5edb86
commit 969196069a
1 changed files with 1 additions and 0 deletions

View File

@ -943,6 +943,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;