summaryrefslogtreecommitdiff
path: root/core/image.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-04-01 12:57:26 +0200
committerGitHub <noreply@github.com>2020-04-01 12:57:26 +0200
commit96e654335a72c32c8ec2595d86360aeccb7eaaa1 (patch)
tree0089caf19d08d5d54b75fbec8bb76e90c4fe8fd2 /core/image.cpp
parentf7b8d0c688dc15b8841ac13990569dda81bf0652 (diff)
parentcb53b1d88ec4795c05218f7f809dec5d0af981d2 (diff)
Merge pull request #37481 from ThakeeNathees/bind-method-typo
some typo in method binds fixed
Diffstat (limited to 'core/image.cpp')
-rw-r--r--core/image.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/image.cpp b/core/image.cpp
index d691c4f442..a18391830c 100644
--- a/core/image.cpp
+++ b/core/image.cpp
@@ -2945,7 +2945,7 @@ void Image::_bind_methods() {
ClassDB::bind_method(D_METHOD("detect_used_channels", "source"), &Image::detect_used_channels, DEFVAL(COMPRESS_SOURCE_GENERIC));
ClassDB::bind_method(D_METHOD("compress", "mode", "source", "lossy_quality"), &Image::compress, DEFVAL(COMPRESS_SOURCE_GENERIC), DEFVAL(0.7));
- ClassDB::bind_method(D_METHOD("compress_from_channels", "mode", "channels", "lossy_quality"), &Image::compress, DEFVAL(0.7));
+ ClassDB::bind_method(D_METHOD("compress_from_channels", "mode", "channels", "lossy_quality"), &Image::compress_from_channels, DEFVAL(0.7));
ClassDB::bind_method(D_METHOD("decompress"), &Image::decompress);
ClassDB::bind_method(D_METHOD("is_compressed"), &Image::is_compressed);