summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorMarcel Admiraal <madmiraal@users.noreply.github.com>2020-09-18 10:07:00 +0100
committerMarcel Admiraal <madmiraal@users.noreply.github.com>2020-09-18 10:43:31 +0100
commit41209efa7f790aba5e7cfe6d8d03d1e091f58087 (patch)
tree303a511e69e94d657ec71e0d94addb417a6deb26 /main
parent6f4384f2063dc892b751eda750e120d72119644a (diff)
Remove the unnecessary sync() and the restrictions it imposes on 3D Physics.
Diffstat (limited to 'main')
-rw-r--r--main/main.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/main/main.cpp b/main/main.cpp
index ced8d7227a..85cfbcb4e9 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -2387,7 +2387,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();