浏览代码

Merge pull request #73308 from smix8/unbind_navigationserver_process_4.x

Unbind NavigationServer3D.process()
Rémi Verschelde 2 年之前
父节点
当前提交
d9ca0845d9
共有 2 个文件被更改,包括 0 次插入10 次删除
  1. 0 9
      doc/classes/NavigationServer3D.xml
  2. 0 1
      servers/navigation_server_3d.cpp

+ 0 - 9
doc/classes/NavigationServer3D.xml

@@ -422,15 +422,6 @@
 				Sets the map up direction.
 			</description>
 		</method>
-		<method name="process">
-			<return type="void" />
-			<param index="0" name="delta_time" type="float" />
-			<description>
-				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.
-			</description>
-		</method>
 		<method name="query_path" qualifiers="const">
 			<return type="void" />
 			<param index="0" name="parameters" type="NavigationPathQueryParameters3D" />

+ 0 - 1
servers/navigation_server_3d.cpp

@@ -115,7 +115,6 @@ void NavigationServer3D::_bind_methods() {
 	ClassDB::bind_method(D_METHOD("free_rid", "rid"), &NavigationServer3D::free);
 
 	ClassDB::bind_method(D_METHOD("set_active", "active"), &NavigationServer3D::set_active);
-	ClassDB::bind_method(D_METHOD("process", "delta_time"), &NavigationServer3D::process);
 
 	ADD_SIGNAL(MethodInfo("map_changed", PropertyInfo(Variant::RID, "map")));