diff options
| author | Ignacio Etcheverry | 2017-08-09 13:19:41 +0200 |
|---|---|---|
| committer | Ignacio Etcheverry | 2017-08-10 07:17:50 +0200 |
| commit | 2f290038d63b55e6ce40296602f36bc98ab26015 (patch) | |
| tree | 170fd3a3096625b57ea2dc32fdee096565b161b0 /scene/2d/sprite.cpp | |
| parent | 1e74f27f8fe962f51e6b1786f861c89863492745 (diff) | |
| download | godot-2f290038d63b55e6ce40296602f36bc98ab26015.tar.gz godot-2f290038d63b55e6ce40296602f36bc98ab26015.tar.zst godot-2f290038d63b55e6ce40296602f36bc98ab26015.zip | |
Diffstat (limited to 'scene/2d/sprite.cpp')
| -rw-r--r-- | scene/2d/sprite.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scene/2d/sprite.cpp b/scene/2d/sprite.cpp index 01d101a89..2ec529a16 100644 --- a/scene/2d/sprite.cpp +++ b/scene/2d/sprite.cpp @@ -298,11 +298,11 @@ void Sprite::_validate_property(PropertyInfo &property) const { void Sprite::_bind_methods() { - ClassDB::bind_method(D_METHOD("set_texture", "texture:Texture"), &Sprite::set_texture); - ClassDB::bind_method(D_METHOD("get_texture:Texture"), &Sprite::get_texture); + ClassDB::bind_method(D_METHOD("set_texture", "texture"), &Sprite::set_texture); + ClassDB::bind_method(D_METHOD("get_texture"), &Sprite::get_texture); - ClassDB::bind_method(D_METHOD("set_normal_map", "normal_map:Texture"), &Sprite::set_normal_map); - ClassDB::bind_method(D_METHOD("get_normal_map:Texture"), &Sprite::get_normal_map); + ClassDB::bind_method(D_METHOD("set_normal_map", "normal_map"), &Sprite::set_normal_map); + ClassDB::bind_method(D_METHOD("get_normal_map"), &Sprite::get_normal_map); ClassDB::bind_method(D_METHOD("set_centered", "centered"), &Sprite::set_centered); ClassDB::bind_method(D_METHOD("is_centered"), &Sprite::is_centered); |
