Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-09-26 14:49:31 +0300
committerCampbell Barton <campbell@blender.org>2022-09-26 14:51:43 +0300
commit03eac69c619e6e7949fe8d3961d15afda8059989 (patch)
tree7c44629babcfa6eb3527c895744749de773318b2
parentb211540783651000b7a13e11b6a40a2f0b5a808e (diff)
Cleanup: restore parenthesis removed in recent commit
Partial revert [0], removed by accident because the -fpermissive flag was enabled with collada. [0]: 34477bbfcde34d0b27f04eccdddd0a093d8be1c0
-rw-r--r--source/blender/io/collada/ArmatureImporter.cpp2
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;
}