diff options
author | George Marques <george@gmarqu.es> | 2017-06-23 00:27:19 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-23 00:27:19 -0300 |
commit | 7ef52b319f3715e7517e2a02b3b65cffa4d35399 (patch) | |
tree | be0e49efb7160ca499f3ef1c0a450d70776ed687 | |
parent | c5e0c6a3365bede09079a84eae164233a566b177 (diff) | |
parent | a87c7f1328b94a1cf203e908750acad59046dd68 (diff) |
Merge pull request #9324 from neikeq/more-defval-fixes
Image: Fix wrong method DEFVAL
-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 ec21260b19..e0cf82d920 100644 --- a/core/image.cpp +++ b/core/image.cpp @@ -2167,7 +2167,7 @@ void Image::_bind_methods() { ClassDB::bind_method(D_METHOD("get_mipmap_offset", "mipmap"), &Image::get_mipmap_offset); - ClassDB::bind_method(D_METHOD("resize_to_po2", "square"), &Image::resize_to_po2, DEFVAL("false")); + ClassDB::bind_method(D_METHOD("resize_to_po2", "square"), &Image::resize_to_po2, DEFVAL(false)); ClassDB::bind_method(D_METHOD("resize", "width", "height", "interpolation"), &Image::resize, DEFVAL(INTERPOLATE_BILINEAR)); ClassDB::bind_method(D_METHOD("shrink_x2"), &Image::shrink_x2); ClassDB::bind_method(D_METHOD("expand_x2_hq2x"), &Image::expand_x2_hq2x); |