summaryrefslogtreecommitdiff
path: root/servers/physics_2d
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-11-16 09:32:48 +0100
committerGitHub <noreply@github.com>2020-11-16 09:32:48 +0100
commitd7176e9040c6db885dace95a942bcc2c6889e15b (patch)
treed507da5845af1ae01c1c6025e182d2346dbf811c /servers/physics_2d
parent670b843ec7bc6fd6ef8204b9736e126f47d198e3 (diff)
parent41209efa7f790aba5e7cfe6d8d03d1e091f58087 (diff)
Merge pull request #42167 from madmiraal/fix-42108
Remove the unnecessary sync() and the restrictions it imposes on 3D Physics.
Diffstat (limited to 'servers/physics_2d')
-rw-r--r--servers/physics_2d/physics_server_2d_sw.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/servers/physics_2d/physics_server_2d_sw.cpp b/servers/physics_2d/physics_server_2d_sw.cpp
index 9d00d01759..755804fe36 100644
--- a/servers/physics_2d/physics_server_2d_sw.cpp
+++ b/servers/physics_2d/physics_server_2d_sw.cpp
@@ -1230,8 +1230,6 @@ void PhysicsServer2DSW::step(real_t p_step) {
_update_shapes();
- doing_sync = false;
-
last_step = p_step;
PhysicsDirectBodyState2DSW::singleton->step = p_step;
island_count = 0;