Merge pull request #81634 from lyuma/generate_lod_deprecate

Add missing is_deprecated flag on the SurfaceTool.generate_lod function.
This commit is contained in:
Yuri Sizov 2023-09-14 15:22:03 +02:00
commit b467afe65d
1 changed files with 1 additions and 1 deletions

View File

@ -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" />