summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-07-28 15:29:52 +0200
committerGitHub <noreply@github.com>2021-07-28 15:29:52 +0200
commit6256936d773a309ee3c208bb1d4a287b08777ab8 (patch)
tree910444c468f7de634aea8be24c41cc4e5d5d989a /doc/classes
parentd426523440b1035cb89127136da37a0601c6cf88 (diff)
parenta1784c64b4b2f65e47927358d30a79ed2c46bcf8 (diff)
Merge pull request #50677 from Calinou/doc-image-save-exr-editor-only
Document `Image.save_exr()` only being available in editor builds
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/Image.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/Image.xml b/doc/classes/Image.xml
index fd80841a63..37a96fef3d 100644
--- a/doc/classes/Image.xml
+++ b/doc/classes/Image.xml
@@ -465,6 +465,7 @@
</argument>
<description>
Saves the image as an EXR file to [code]path[/code]. If [code]grayscale[/code] is [code]true[/code] and the image has only one channel, it will be saved explicitly as monochrome rather than one red channel. This function will return [constant ERR_UNAVAILABLE] if Godot was compiled without the TinyEXR module.
+ [b]Note:[/b] The TinyEXR module is disabled in non-editor builds, which means [method save_exr] will return [constant ERR_UNAVAILABLE] when it is called from an exported project.
</description>
</method>
<method name="save_png" qualifiers="const">