Improve description of find_item_by_name() method in MeshLibrary class doc

Specify what the method find_item_by_name() returns if no item is found.
This commit is contained in:
Mateus Elias 2024-05-27 05:51:22 -03:00
parent be56cab58c
commit c622f202c0

View File

@ -29,7 +29,7 @@
<return type="int" /> <return type="int" />
<param index="0" name="name" type="String" /> <param index="0" name="name" type="String" />
<description> <description>
Returns the first item with the given name. Returns the first item with the given name, or [code]-1[/code] if no item is found.
</description> </description>
</method> </method>
<method name="get_item_list" qualifiers="const"> <method name="get_item_list" qualifiers="const">