Skip to content

Commit

Permalink
revert schedule change for debug render (#497)
Browse files Browse the repository at this point in the history
revert schedule change for PhysicsDebugPlugin because it causes large lag

# Objective
fixes issue #496
recent scheduling changes from commit 4d082a7 causes PhysicsDebugPlugin too generate lots of lag when enabled

## Solution
change default schedule from FixedPostUpdate too PostUpdate
  • Loading branch information
Hellzbellz123 authored Dec 8, 2024
1 parent ba88219 commit 90478cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/debug_render/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ impl PhysicsDebugPlugin {

impl Default for PhysicsDebugPlugin {
fn default() -> Self {
Self::new(FixedPostUpdate)
Self::new(PostUpdate)
}
}

Expand Down

0 comments on commit 90478cb

Please sign in to comment.