Fix duplicate NavigationServer process

NavigationServer process was called twice each frame
Also adds 3 missing MONITOR_TYPE entries.
This commit is contained in:
smix8 2023-01-13 08:35:57 +01:00
parent 7c2768c2f8
commit be9224eaa8
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,
};