aboutsummaryrefslogtreecommitdiff
path: root/scene/resources/bit_mask.cpp
diff options
context:
space:
mode:
authorPoommetee Ketson2017-07-19 02:03:34 +0700
committerPoommetee Ketson2017-07-19 02:03:34 +0700
commit49c7620326a557bc809340dd1090b46120e43eac (patch)
tree887ca12413c5d7d21bb9ac3190a1d81bb57157b7 /scene/resources/bit_mask.cpp
parent5a42bbaace7d8a72e2842f760c6ac905ac238d2c (diff)
downloadgodot-49c7620326a557bc809340dd1090b46120e43eac.tar.gz
godot-49c7620326a557bc809340dd1090b46120e43eac.tar.zst
godot-49c7620326a557bc809340dd1090b46120e43eac.zip
Diffstat (limited to 'scene/resources/bit_mask.cpp')
-rw-r--r--scene/resources/bit_mask.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/bit_mask.cpp b/scene/resources/bit_mask.cpp
index a47306793..73a759278 100644
--- a/scene/resources/bit_mask.cpp
+++ b/scene/resources/bit_mask.cpp
@@ -170,7 +170,7 @@ Dictionary BitMap::_get_data() const {
void BitMap::_bind_methods() {
ClassDB::bind_method(D_METHOD("create", "size"), &BitMap::create);
- ClassDB::bind_method(D_METHOD("create_from_image_alpha", "image"), &BitMap::create_from_image_alpha);
+ ClassDB::bind_method(D_METHOD("create_from_image_alpha", "image:Image"), &BitMap::create_from_image_alpha);
ClassDB::bind_method(D_METHOD("set_bit", "pos", "bit"), &BitMap::set_bit);
ClassDB::bind_method(D_METHOD("get_bit", "pos"), &BitMap::get_bit);