From 9fd4b941e282d12fe840b2ae1e061ec167389e62 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sun, 3 Sep 2023 09:26:48 +0200 Subject: [PATCH] Backported from godot4: Unbind NavigationServer3D.process() Unbinds NavigationServer3D.process(). - smix8 https://github.com/godotengine/godot/commit/f1026450bfe9bf4df2e059f220c2e579fa3e4f64 --- doc/classes/NavigationServer.xml | 9 --------- servers/navigation_server.cpp | 3 +-- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/doc/classes/NavigationServer.xml b/doc/classes/NavigationServer.xml index 8cf10662a..f96f32338 100644 --- a/doc/classes/NavigationServer.xml +++ b/doc/classes/NavigationServer.xml @@ -591,15 +591,6 @@ Sets the outline vertices for the obstacle. If the vertices are winded in clockwise order agents will be pushed in by the obstacle, else they will be pushed out. - - - - - Process the collision avoidance agents. - The result of this process is needed by the physics server, so this must be called in the main thread. - [b]Note:[/b] This function is not thread safe. - - diff --git a/servers/navigation_server.cpp b/servers/navigation_server.cpp index eedf02b77..e25cd290d 100644 --- a/servers/navigation_server.cpp +++ b/servers/navigation_server.cpp @@ -156,8 +156,7 @@ void NavigationServer::_bind_methods() { ClassDB::bind_method(D_METHOD("free_rid", "rid"), &NavigationServer::free); ClassDB::bind_method(D_METHOD("set_active", "active"), &NavigationServer::set_active); - ClassDB::bind_method(D_METHOD("process", "delta_time"), &NavigationServer::process); - + ClassDB::bind_method(D_METHOD("get_process_info", "process_info"), &NavigationServer::get_process_info); ClassDB::bind_method(D_METHOD("set_debug_enabled", "enabled"), &NavigationServer::set_debug_enabled);