Fix error in fix for #87219, accidental assignment in conditional

This commit is contained in:
Campbell Barton 2024-06-04 10:45:44 +10:00 committed by Germano Cavalcante
parent 2695e15c18
commit 037882320c

View file

@ -485,7 +485,7 @@ void constraintSizeLim(const TransInfo *t, const TransDataContainer *tc, TransDa
/* just multiply by td->mtx (this should be ok) */
mul_m4_m3m4(cob.matrix, td->mtx, cob.matrix);
}
else if (con->ownspace = CONSTRAINT_SPACE_POSE) {
else if (con->ownspace == CONSTRAINT_SPACE_POSE) {
/* Bone space without considering object transformations. */
mul_m4_m3m4(cob.matrix, td->mtx, cob.matrix);
mul_m4_m3m4(cob.matrix, tc->imat3, cob.matrix);