Remove redundant check for armature mode
Caller ensures pose-mode, this flag is only set while drawing.
This commit is contained in:
parent
be2bd5d722
commit
74fa84f37f
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue