Constraint Ipos didnt work when the bone/channel had no Action Ipo...
just had to move a line of code. :)
This commit is contained in:
2005-10-25 19:40:13 +00:00
parent 8a21421e54
commit 129097a097
2 changed files with 3 additions and 5 deletions

View File

@@ -669,8 +669,8 @@ void do_constraint_channels (ListBase *conbase, ListBase *chanbase, float ctime)
switch (icu->adrcode){
case CO_ENFORCE:
con->enforce = icu->curval;
if (con->enforce<0) con->enforce=0;
else if (con->enforce>1) con->enforce=1;
if (con->enforce<0.0f) con->enforce= 0.0f;
else if (con->enforce>1.0f) con->enforce= 1.0f;
break;
}
}