Răsfoiți Sursa

Merge pull request #104762 from smix8/depr_map_force_update

Deprecate NavigationServer `map_force_update()`
Thaddeus Crews 6 luni în urmă
părinte
comite
cc7217970d

+ 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>