From a1784c64b4b2f65e47927358d30a79ed2c46bcf8 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Wed, 21 Jul 2021 03:27:50 +0200 Subject: Document `Image.save_exr()` only being available in editor builds --- doc/classes/Image.xml | 1 + 1 file changed, 1 insertion(+) (limited to 'doc') diff --git a/doc/classes/Image.xml b/doc/classes/Image.xml index 167b90ea73..5f468acc72 100644 --- a/doc/classes/Image.xml +++ b/doc/classes/Image.xml @@ -465,6 +465,7 @@ 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. -- cgit v1.2.3