diff options
author | Poommetee Ketson <poommetee@protonmail.com> | 2018-08-20 20:58:53 +0700 |
---|---|---|
committer | Poommetee Ketson <poommetee@protonmail.com> | 2018-08-21 01:51:19 +0700 |
commit | 76adef27042b5185ab8a1db991cfff8ab872b928 (patch) | |
tree | 2dc46fd87193a0240ecad09a959e97a36db308e0 /scene/2d | |
parent | c1bd768ca2d5fcd7c505b1af5e4de753799a3476 (diff) |
Fix arg name in docs, some copy-paste errors
Diffstat (limited to 'scene/2d')
-rw-r--r-- | scene/2d/skeleton_2d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/skeleton_2d.cpp b/scene/2d/skeleton_2d.cpp index e6e9bde20a..2c362f1b31 100644 --- a/scene/2d/skeleton_2d.cpp +++ b/scene/2d/skeleton_2d.cpp @@ -288,7 +288,7 @@ void Skeleton2D::_bind_methods() { ClassDB::bind_method(D_METHOD("_update_transform"), &Skeleton2D::_update_transform); ClassDB::bind_method(D_METHOD("get_bone_count"), &Skeleton2D::get_bone_count); - ClassDB::bind_method(D_METHOD("get_bone"), &Skeleton2D::get_bone); + ClassDB::bind_method(D_METHOD("get_bone", "idx"), &Skeleton2D::get_bone); ClassDB::bind_method(D_METHOD("get_skeleton"), &Skeleton2D::get_skeleton); } |