From a87c7f1328b94a1cf203e908750acad59046dd68 Mon Sep 17 00:00:00 2001 From: Ignacio Etcheverry Date: Fri, 23 Jun 2017 03:51:36 +0200 Subject: [PATCH] Image: Fix wrong method DEFVAL --- core/image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/image.cpp b/core/image.cpp index ec21260b192..e0cf82d9209 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);