瀏覽代碼

Merge pull request #81634 from lyuma/generate_lod_deprecate

Add missing is_deprecated flag on the SurfaceTool.generate_lod function.
Yuri Sizov 2 年之前
父節點
當前提交
b467afe65d
共有 1 個文件被更改,包括 1 次插入1 次删除
  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" />