Skip to content

Commit

Permalink
Merge pull request #71315 from smix8/i_see_double
Browse files Browse the repository at this point in the history
Fix duplicate NavigationServer process
  • Loading branch information
akien-mga committed Jan 13, 2023
2 parents 46d8fea + be9224e commit a9f3f0c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
3 changes: 3 additions & 0 deletions main/performance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,

};

Expand Down

0 comments on commit a9f3f0c

Please sign in to comment.