diff options
author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2017-06-23 03:51:36 +0200 |
---|---|---|
committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2017-06-23 03:51:36 +0200 |
commit | a87c7f1328b94a1cf203e908750acad59046dd68 (patch) | |
tree | a30eb94ee74e8b31678b8120a7e1495756826008 | |
parent | 3f2cd75c6f4c199389ad4d9766b5895be414a5f6 (diff) |
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); |