summaryrefslogtreecommitdiffstats
path: root/core/image.cpp
diff options
context:
space:
mode:
authorThakee Nathees <thakeenathees@gmail.com>2020-04-01 07:19:23 +0530
committerThakee Nathees <thakeenathees@gmail.com>2020-04-01 14:01:18 +0530
commitcb53b1d88ec4795c05218f7f809dec5d0af981d2 (patch)
tree148acd41d1378f11a9d95efea84798cda8acb737 /core/image.cpp
parentb383484e445b1554c811556181a7815e0308fd62 (diff)
downloadredot-engine-cb53b1d88ec4795c05218f7f809dec5d0af981d2.tar.gz
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);