Remove redundant check for armature mode

Caller ensures pose-mode, this flag is only set while drawing.
This commit is contained in:
Campbell Barton 2018-02-09 02:39:54 +11:00
parent be2bd5d722
commit 74fa84f37f
1 changed files with 0 additions and 3 deletions

View File

@ -1002,9 +1002,6 @@ static short pose_grab_with_ik(Object *ob)
return 0;
arm = ob->data;
if ((arm->flag & ARM_POSEMODE) == 0) {
return 0;
}
/* Rule: allow multiple Bones (but they must be selected, and only one ik-solver per chain should get added) */
for (pchan = ob->pose->chanbase.first; pchan; pchan = pchan->next) {