Skip to content

Commit

Permalink
temporary build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ughuuu committed Sep 22, 2024
1 parent 0fbd057 commit b8b38b1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/pipeline/physics_pipeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -426,13 +426,23 @@ impl PhysicsPipeline {

// Apply some of delayed wake-ups.
self.counters.stages.user_changes.start();

#[cfg(not(feature = "enhanced-determinism"))]
for handle in impulse_joints
.to_wake_up
.drain()
.chain(multibody_joints.to_wake_up.drain())
{
islands.wake_up(bodies, handle.0, true);
}
#[cfg(feature = "enhanced-determinism")]
for handle in impulse_joints
.to_wake_up
.drain(..)
.chain(multibody_joints.to_wake_up.drain(..))
{
islands.wake_up(bodies, handle.0, true);
}

// Apply modifications.
let mut modified_colliders = colliders.take_modified();
Expand Down

0 comments on commit b8b38b1

Please sign in to comment.