Explorar o código

Image: Fix wrong method DEFVAL

Ignacio Etcheverry %!s(int64=8) %!d(string=hai) anos
pai
achega
a87c7f1328
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      core/image.cpp

+ 1 - 1
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);