aboutsummaryrefslogtreecommitdiff
path: root/src/pipeline
diff options
context:
space:
mode:
authorThierry Berger <contact@thierryberger.com>2024-09-13 10:48:56 +0200
committerGitHub <noreply@github.com>2024-09-13 10:48:56 +0200
commitc714ff81f2be61f433d0521bc56ba44ce0e71298 (patch)
treeb331203cee1c4291bcb74222c5b6ee792eb97536 /src/pipeline
parent04058a111dcb99393e52158823c0f7d6a87407fb (diff)
downloadrapier-c714ff81f2be61f433d0521bc56ba44ce0e71298.tar.gz
rapier-c714ff81f2be61f433d0521bc56ba44ce0e71298.tar.bz2
rapier-c714ff81f2be61f433d0521bc56ba44ce0e71298.zip
ImpulseJointSet::get_mut option to wake up connected bodies (#716)
Diffstat (limited to 'src/pipeline')
-rw-r--r--src/pipeline/physics_pipeline.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pipeline/physics_pipeline.rs b/src/pipeline/physics_pipeline.rs
index 8d1fec4..ab4b119 100644
--- a/src/pipeline/physics_pipeline.rs
+++ b/src/pipeline/physics_pipeline.rs
@@ -428,10 +428,10 @@ impl PhysicsPipeline {
self.counters.stages.user_changes.start();
for handle in impulse_joints
.to_wake_up
- .drain(..)
- .chain(multibody_joints.to_wake_up.drain(..))
+ .drain()
+ .chain(multibody_joints.to_wake_up.drain())
{
- islands.wake_up(bodies, handle, true);
+ islands.wake_up(bodies, handle.0, true);
}
// Apply modifications.