diff options
author | Poommetee Ketson <poommetee@protonmail.com> | 2017-07-22 17:11:42 +0700 |
---|---|---|
committer | Poommetee Ketson <poommetee@protonmail.com> | 2017-07-23 18:57:03 +0700 |
commit | 2777f81d290e4b9a17afedc100a5b83666e04495 (patch) | |
tree | c6e707708590537ae80566649a318d17c1a8bbb8 /scene/2d/node_2d.cpp | |
parent | 0ed59fdf12a8c8b385163c70ace0cd659867c9b1 (diff) | |
download | redot-engine-2777f81d290e4b9a17afedc100a5b83666e04495.tar.gz |
Add object type hint for docs
Diffstat (limited to 'scene/2d/node_2d.cpp')
-rw-r--r-- | scene/2d/node_2d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/node_2d.cpp b/scene/2d/node_2d.cpp index 9de46fd937..cc37d0f5f4 100644 --- a/scene/2d/node_2d.cpp +++ b/scene/2d/node_2d.cpp @@ -444,7 +444,7 @@ void Node2D::_bind_methods() { ClassDB::bind_method(D_METHOD("edit_set_pivot", "pivot"), &Node2D::edit_set_pivot); - ClassDB::bind_method(D_METHOD("get_relative_transform_to_parent", "parent:Node2D"), &Node2D::get_relative_transform_to_parent); + ClassDB::bind_method(D_METHOD("get_relative_transform_to_parent", "parent:Node"), &Node2D::get_relative_transform_to_parent); ADD_GROUP("Transform", ""); ADD_PROPERTYNZ(PropertyInfo(Variant::VECTOR2, "position"), "set_position", "get_position"); |