1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-11 13:10:58 +00:00

Revert "Move Bullet physics query flush from Bullet space pre-tick callback to"

This reverts commit e7d8464f87.

Fixes #40508 regression.

This will be re-applied and the regression fixed for a future 3.2.x release.
This commit is contained in:
Rémi Verschelde
2020-07-28 11:29:29 +02:00
parent ba3f0fa971
commit 10544f1cf7
2 changed files with 5 additions and 6 deletions

View File

@@ -1572,12 +1572,6 @@ void BulletPhysicsServer::sync() {
}
void BulletPhysicsServer::flush_queries() {
if (!active)
return;
for (int i = 0; i < active_spaces_count; ++i) {
active_spaces[i]->flush_queries();
}
}
void BulletPhysicsServer::finish() {