forked from bartvdbraak/blender
Bugfix #5212:
IK Locks/Limits were applied to bones in IK-chains even when the IK constraint for the chain had an influence value of 0. I've added a check to see if the ik-constraint found has any influence over a chain, before the chain is made available for ik-solving.
This commit is contained in:
parent
5ddd48f140
commit
429ec5eea3
@ -1170,6 +1170,7 @@ static void initialize_posetree(struct Object *ob, bPoseChannel *pchan_tip)
|
||||
if(data->flag & CONSTRAINT_IK_AUTO);
|
||||
else {
|
||||
if(con->flag & CONSTRAINT_DISABLE) return; /* checked in editconstraint.c */
|
||||
if(con->enforce == 0.0f) return;
|
||||
if(data->tar==NULL) return;
|
||||
if(data->tar->type==OB_ARMATURE && data->subtarget[0]==0) return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user