diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-02-27 21:10:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-27 21:10:09 +0100 |
commit | f9d93ee819d216048e9dc69d4481be7802fb53da (patch) | |
tree | 8aa005887466a4a13a47fb056831061563ee9769 /doc | |
parent | eaf909dcf9acf40f64fbb5f7595a2902e563c96b (diff) | |
parent | 64fac9dd5d8ad360c783020a62a04c8434f5e143 (diff) |
Merge pull request #36288 from Calinou/meshlibrary-allow-non-tools-use
Allow using `MeshLibrary.get_item_preview()` in non-editor builds again
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/MeshLibrary.xml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/classes/MeshLibrary.xml b/doc/classes/MeshLibrary.xml index e8431e64f4..a96f6d7231 100644 --- a/doc/classes/MeshLibrary.xml +++ b/doc/classes/MeshLibrary.xml @@ -84,8 +84,7 @@ <argument index="0" name="id" type="int"> </argument> <description> - Returns a generated item preview (a 3D rendering in isometric perspective). - [b]Note:[/b] Since item previews are only generated in an editor context, this function will return an empty [Texture2D] in a running project. + When running in the editor, returns a generated item preview (a 3D rendering in isometric perspective). When used in a running project, returns the manually-defined item preview which can be set using [method set_item_preview]. Returns an empty [Texture2D] if no preview was manually set in a running project. </description> </method> <method name="get_item_shapes" qualifiers="const"> |