diff options
author | Campbell Barton <campbell@blender.org> | 2022-09-26 04:39:24 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-09-26 04:39:24 +0300 |
commit | 20276191e567539ab25b87eb8da5fc079c73f218 (patch) | |
tree | 6567906012a9ae9e455882b4f6058bc8a8345b0a | |
parent | 3961d3493be9c666850e71abe6102f72d3db9332 (diff) |
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]: c9e35c2ced92082c86f1ecb9ecd16c6230218c7c
-rw-r--r-- | source/blender/io/collada/ArmatureImporter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/io/collada/ArmatureImporter.cpp b/source/blender/io/collada/ArmatureImporter.cpp index a742ee3a1dd..1310337f501 100644 --- a/source/blender/io/collada/ArmatureImporter.cpp +++ b/source/blender/io/collada/ArmatureImporter.cpp @@ -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; } |