diff options
author | erwincoumans <erwincoumans@google.com> | 2021-10-25 09:10:29 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-25 09:10:29 -0700 |
commit | e4a450a53dc6eded9d16a0d1dde07fc8a25760d0 (patch) | |
tree | be7f766a7994f40e565e6cb2eb31b3d21a589a90 | |
parent | 33cceed500d3b3b010b33e6cfa43148aebd40349 (diff) | |
parent | ba65e909bc3f099351969b6ad114121e7a11f66b (diff) | |
download | bullet3-e4a450a53dc6eded9d16a0d1dde07fc8a25760d0.tar.gz |
Merge pull request #3980 from akien-mga/patch-1
SoftBody: Fix local variable shadowing warning
-rw-r--r-- | src/BulletSoftBody/btSoftBody.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/BulletSoftBody/btSoftBody.h b/src/BulletSoftBody/btSoftBody.h index e967e8790..d5b01faf3 100644 --- a/src/BulletSoftBody/btSoftBody.h +++ b/src/BulletSoftBody/btSoftBody.h @@ -1317,8 +1317,8 @@ public: } for (int k = 0; k < m_faceNodeContacts.size(); ++k) { - int i = indices[k]; - btSoftBody::DeformableFaceNodeContact& c = m_faceNodeContacts[i]; + int idx = indices[k]; + btSoftBody::DeformableFaceNodeContact& c = m_faceNodeContacts[idx]; btSoftBody::Node* node = c.m_node; btSoftBody::Face* face = c.m_face; const btVector3& w = c.m_bary; |