Browse Source

Add missing is_deprecated flag on the SurfaceTool.generate_lod function.

Lyuma 2 năm trước cách đây
mục cha
commit
8153739df9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      doc/classes/SurfaceTool.xml

+ 1 - 1
doc/classes/SurfaceTool.xml

@@ -119,7 +119,7 @@
 				Removes the index array by expanding the vertex array.
 				Removes the index array by expanding the vertex array.
 			</description>
 			</description>
 		</method>
 		</method>
-		<method name="generate_lod">
+		<method name="generate_lod" is_deprecated="true">
 			<return type="PackedInt32Array" />
 			<return type="PackedInt32Array" />
 			<param index="0" name="nd_threshold" type="float" />
 			<param index="0" name="nd_threshold" type="float" />
 			<param index="1" name="target_index_count" type="int" default="3" />
 			<param index="1" name="target_index_count" type="int" default="3" />