auto IK constraint was added twice, creating a circular list (HANG!)
[blender.git] / source / blender / editors / transform / transform_conversions.c
index 618e71951c222562fc7b9480220350b131820b02..5a517e34fcdf020b3091002ccf39d91efb9c077c 100644 (file)
@@ -879,7 +879,6 @@ static short pose_grab_with_ik_add(bPoseChannel *pchan)
        }
 
        con = add_pose_constraint(NULL, pchan, "TempConstraint", CONSTRAINT_TYPE_KINEMATIC);
-       BLI_addtail(&pchan->constraints, con);
        pchan->constflag |= (PCHAN_HAS_IK|PCHAN_HAS_TARGET);    /* for draw, but also for detecting while pose solving */
        data= con->data;
        if (targetless) { /* if exists use values from last targetless IK-constraint as base */