Cleanup: fix warning in recent parenthesis removal

Regression in [0], this slipped through due to "-fpermissive"
being added to GCC flags, suppressing the error.

[0]: c9e35c2ced
This commit is contained in:
Campbell Barton
2022-09-26 11:39:24 +10:00
parent 3961d3493b
commit 20276191e5

View File

@@ -1022,7 +1022,7 @@ bool ArmatureImporter::get_joint_bind_mat(float m[4][4], COLLADAFW::Node *joint)
bool found = false;
for (it = skin_by_data_uid.begin(); it != skin_by_data_uid.end(); it++) {
SkinInfo &skin = it->second;
if (found = skin.get_joint_inv_bind_matrix(m, joint)) {
if ((found = skin.get_joint_inv_bind_matrix(m, joint))) {
invert_m4(m);
break;
}