diff --git a/source/blender/editors/transform/transform_mode.cc b/source/blender/editors/transform/transform_mode.cc index 83c7c4a3790..e6db39d863a 100644 --- a/source/blender/editors/transform/transform_mode.cc +++ b/source/blender/editors/transform/transform_mode.cc @@ -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);