Fix SceneTreeEditor::_update_tree() binding

(cherry picked from commit 20f48f0105)
This commit is contained in:
Pedro J. Estébanez 2021-02-14 22:32:42 +01:00 committed by Rémi Verschelde
parent dc1264af0a
commit ec0085973f
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -1129,7 +1129,7 @@ void SceneTreeEditor::set_connecting_signal(bool p_enable) {
void SceneTreeEditor::_bind_methods() {
ClassDB::bind_method("_tree_changed", &SceneTreeEditor::_tree_changed);
ClassDB::bind_method("_update_tree", &SceneTreeEditor::_update_tree);
ClassDB::bind_method(D_METHOD("_update_tree", "scroll_to_selected"), &SceneTreeEditor::_update_tree, DEFVAL(false));
ClassDB::bind_method("_node_removed", &SceneTreeEditor::_node_removed);
ClassDB::bind_method("_node_renamed", &SceneTreeEditor::_node_renamed);
ClassDB::bind_method("_selected_changed", &SceneTreeEditor::_selected_changed);