fix #T37894: IK constraint desactivation does not work as expected
patch suggested by Séverin Lemaignan (skadge)
This commit is contained in:
parent
c5d3abc863
commit
8a8ee2c601
Notes:
blender-bot
2023-02-14 11:27:32 +01:00
Referenced by issue #37894, IK constraint desactivation does not work as expected
|
@ -381,7 +381,7 @@ static bool constraint_valid(bConstraint *con)
|
|||
|
||||
if (data->flag & CONSTRAINT_IK_AUTO)
|
||||
return true;
|
||||
if (con->flag & CONSTRAINT_DISABLE)
|
||||
if (con->flag & (CONSTRAINT_DISABLE | CONSTRAINT_OFF))
|
||||
return false;
|
||||
if (is_cartesian_constraint(con)) {
|
||||
/* cartesian space constraint */
|
||||
|
|
Loading…
Reference in New Issue