Skip to content

Commit b8b38b1

Browse files
committed
temporary build fix
1 parent 0fbd057 commit b8b38b1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/pipeline/physics_pipeline.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,13 +426,23 @@ impl PhysicsPipeline {
426426

427427
// Apply some of delayed wake-ups.
428428
self.counters.stages.user_changes.start();
429+
430+
#[cfg(not(feature = "enhanced-determinism"))]
429431
for handle in impulse_joints
430432
.to_wake_up
431433
.drain()
432434
.chain(multibody_joints.to_wake_up.drain())
433435
{
434436
islands.wake_up(bodies, handle.0, true);
435437
}
438+
#[cfg(feature = "enhanced-determinism")]
439+
for handle in impulse_joints
440+
.to_wake_up
441+
.drain(..)
442+
.chain(multibody_joints.to_wake_up.drain(..))
443+
{
444+
islands.wake_up(bodies, handle.0, true);
445+
}
436446

437447
// Apply modifications.
438448
let mut modified_colliders = colliders.take_modified();

0 commit comments

Comments
 (0)