diff options
| author | Rémi Verschelde | 2017-07-19 10:00:20 +0200 |
|---|---|---|
| committer | GitHub | 2017-07-19 10:00:20 +0200 |
| commit | c5ba9d9b7c6d7d2c08d01b13af87748af4dee8a2 (patch) | |
| tree | 540f8232f44a6fdc0646a6f3410fb644922d5cab /core/image.cpp | |
| parent | 1f91c2908e7c551c20dc00d88212e0aaad44f4cf (diff) | |
| parent | 49c7620326a557bc809340dd1090b46120e43eac (diff) | |
| download | godot-c5ba9d9b7c6d7d2c08d01b13af87748af4dee8a2.tar.gz godot-c5ba9d9b7c6d7d2c08d01b13af87748af4dee8a2.tar.zst godot-c5ba9d9b7c6d7d2c08d01b13af87748af4dee8a2.zip | |
Merge pull request #9703 from Noshyaar/docs
Add object type hint for docs
Diffstat (limited to 'core/image.cpp')
| -rw-r--r-- | core/image.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/image.cpp b/core/image.cpp index 6ab8bb6d4..50dc9c109 100644 --- a/core/image.cpp +++ b/core/image.cpp @@ -2245,7 +2245,7 @@ void Image::_bind_methods() { ClassDB::bind_method(D_METHOD("detect_alpha"), &Image::detect_alpha); ClassDB::bind_method(D_METHOD("is_invisible"), &Image::is_invisible); - ClassDB::bind_method(D_METHOD("compress", "mode"), &Image::compress); + ClassDB::bind_method(D_METHOD("compress", "mode", "source", "lossy_quality"), &Image::compress); ClassDB::bind_method(D_METHOD("decompress"), &Image::decompress); ClassDB::bind_method(D_METHOD("is_compressed"), &Image::is_compressed); |
