Merge pull request #71315 from smix8/i_see_double

Fix duplicate NavigationServer process
This commit is contained in:
Rémi Verschelde 2023-01-13 09:57:20 +01:00
commit a9f3f0c52a
No known key found for this signature in database
GPG key ID: C3336907360768E1
2 changed files with 3 additions and 1 deletions

View file

@ -3035,7 +3035,6 @@ bool Main::iteration() {
break;
}
NavigationServer3D::get_singleton()->process(physics_step * time_scale);
uint64_t navigation_begin = OS::get_singleton()->get_ticks_usec();
NavigationServer3D::get_singleton()->process(physics_step * time_scale);

View file

@ -249,6 +249,9 @@ Performance::MonitorType Performance::get_monitor_type(Monitor p_monitor) const
MONITOR_TYPE_QUANTITY,
MONITOR_TYPE_QUANTITY,
MONITOR_TYPE_QUANTITY,
MONITOR_TYPE_QUANTITY,
MONITOR_TYPE_QUANTITY,
MONITOR_TYPE_QUANTITY,
};