From a120f11c1eed7fd6ba22f54b998002f751ff155c Mon Sep 17 00:00:00 2001 From: Aaron Franke Date: Wed, 10 Jan 2024 15:53:40 -0600 Subject: [PATCH] Give EXR saving methods a default value of false like the bindings --- core/io/image.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/io/image.h b/core/io/image.h index a5025ee8a1b7..be308b0ac173 100644 --- a/core/io/image.h +++ b/core/io/image.h @@ -313,8 +313,8 @@ class Image : public Resource { Error save_jpg(const String &p_path, float p_quality = 0.75) const; Vector save_png_to_buffer() const; Vector save_jpg_to_buffer(float p_quality = 0.75) const; - Vector save_exr_to_buffer(bool p_grayscale) const; - Error save_exr(const String &p_path, bool p_grayscale) const; + Vector save_exr_to_buffer(bool p_grayscale = false) const; + Error save_exr(const String &p_path, bool p_grayscale = false) const; Error save_webp(const String &p_path, const bool p_lossy = false, const float p_quality = 0.75f) const; Vector save_webp_to_buffer(const bool p_lossy = false, const float p_quality = 0.75f) const;