Commit: 74fa84f37f718939474334abe975797462ec8e29
Author: Campbell Barton
Date:   Fri Feb 9 02:39:54 2018 +1100
Branches: blender2.8
https://developer.blender.org/rB74fa84f37f718939474334abe975797462ec8e29

Remove redundant check for armature mode

Caller ensures pose-mode, this flag is only set while drawing.

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

M       source/blender/editors/transform/transform_conversions.c

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

diff --git a/source/blender/editors/transform/transform_conversions.c 
b/source/blender/editors/transform/transform_conversions.c
index d00b17d9a5e..63df39c7d6e 100644
--- a/source/blender/editors/transform/transform_conversions.c
+++ b/source/blender/editors/transform/transform_conversions.c
@@ -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) {

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to