diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-11-16 09:32:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-16 09:32:48 +0100 |
commit | d7176e9040c6db885dace95a942bcc2c6889e15b (patch) | |
tree | d507da5845af1ae01c1c6025e182d2346dbf811c /main | |
parent | 670b843ec7bc6fd6ef8204b9736e126f47d198e3 (diff) | |
parent | 41209efa7f790aba5e7cfe6d8d03d1e091f58087 (diff) |
Merge pull request #42167 from madmiraal/fix-42108
Remove the unnecessary sync() and the restrictions it imposes on 3D Physics.
Diffstat (limited to 'main')
-rw-r--r-- | main/main.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/main/main.cpp b/main/main.cpp index 3905366598..29497cd1cf 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -2396,7 +2396,6 @@ bool Main::iteration() { for (int iters = 0; iters < advance.physics_steps; ++iters) { uint64_t physics_begin = OS::get_singleton()->get_ticks_usec(); - PhysicsServer3D::get_singleton()->sync(); PhysicsServer3D::get_singleton()->flush_queries(); PhysicsServer2D::get_singleton()->sync(); |