aboutsummaryrefslogtreecommitdiff
path: root/src/dynamics/rigid_body_set.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/dynamics/rigid_body_set.rs')
-rw-r--r--src/dynamics/rigid_body_set.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dynamics/rigid_body_set.rs b/src/dynamics/rigid_body_set.rs
index f7064ed..b857173 100644
--- a/src/dynamics/rigid_body_set.rs
+++ b/src/dynamics/rigid_body_set.rs
@@ -158,7 +158,7 @@ impl RigidBodySet {
pub fn insert(&mut self, mut rb: RigidBody) -> RigidBodyHandle {
// Make sure the internal links are reset, they may not be
// if this rigid-body was obtained by cloning another one.
- rb.reset_internal_links();
+ rb.reset_internal_references();
let handle = self.bodies.insert(rb);
let rb = &mut self.bodies[handle];