瀏覽代碼

Merge pull request #104762 from smix8/depr_map_force_update

Deprecate NavigationServer `map_force_update()`
Thaddeus Crews 6 月之前
父節點
當前提交
cc7217970d
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      doc/classes/NavigationServer2D.xml
  2. 1 1
      doc/classes/NavigationServer3D.xml

+ 1 - 1
doc/classes/NavigationServer2D.xml

@@ -464,7 +464,7 @@
 				Create a new map.
 			</description>
 		</method>
-		<method name="map_force_update">
+		<method name="map_force_update" deprecated="This method is no longer supported, as it is incompatible with asynchronous updates. It can only be used in a single-threaded context, at your own risk.">
 			<return type="void" />
 			<param index="0" name="map" type="RID" />
 			<description>

+ 1 - 1
doc/classes/NavigationServer3D.xml

@@ -496,7 +496,7 @@
 				Create a new map.
 			</description>
 		</method>
-		<method name="map_force_update">
+		<method name="map_force_update" deprecated="This method is no longer supported, as it is incompatible with asynchronous updates. It can only be used in a single-threaded context, at your own risk.">
 			<return type="void" />
 			<param index="0" name="map" type="RID" />
 			<description>