diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-08-11 10:29:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-11 10:29:41 +0200 |
commit | 8e6768c963b0ed825e4a4dbf3aeee5907168d697 (patch) | |
tree | da7f2efe5fceb097bc1ebb7ce6789e9bf3a3a1d8 /editor/editor_data.cpp | |
parent | 81dde2687f2f80f5f365a02d68913322d35e9be1 (diff) | |
parent | 78619a5866f44b057bc539e46a936f7580360800 (diff) |
Merge pull request #10202 from neikeq/how-do-you-turn-this-on
Improves method bind's detecting of signarute types
Diffstat (limited to 'editor/editor_data.cpp')
-rw-r--r-- | editor/editor_data.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor_data.cpp b/editor/editor_data.cpp index c3c3f0d3ca..e788fe2c13 100644 --- a/editor/editor_data.cpp +++ b/editor/editor_data.cpp @@ -867,8 +867,8 @@ void EditorSelection::_bind_methods() { ClassDB::bind_method(D_METHOD("_node_removed"), &EditorSelection::_node_removed); ClassDB::bind_method(D_METHOD("clear"), &EditorSelection::clear); - ClassDB::bind_method(D_METHOD("add_node", "node:Node"), &EditorSelection::add_node); - ClassDB::bind_method(D_METHOD("remove_node", "node:Node"), &EditorSelection::remove_node); + ClassDB::bind_method(D_METHOD("add_node", "node"), &EditorSelection::add_node); + ClassDB::bind_method(D_METHOD("remove_node", "node"), &EditorSelection::remove_node); ClassDB::bind_method(D_METHOD("get_selected_nodes"), &EditorSelection::_get_selected_nodes); ClassDB::bind_method(D_METHOD("get_transformable_selected_nodes"), &EditorSelection::_get_transformable_selected_nodes); ADD_SIGNAL(MethodInfo("selection_changed")); |