Merge pull request #43968 from KoBeWi/nokia_connecting_nodes_xdxd

Show editable children in the connect dialog
This commit is contained in:
Rémi Verschelde 2020-11-30 09:23:09 +01:00 committed by GitHub
commit 375cfa0d50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -410,6 +410,7 @@ ConnectDialog::ConnectDialog() {
tree = memnew(SceneTreeEditor(false));
tree->set_connecting_signal(true);
tree->set_show_enabled_subscene(true);
tree->get_scene_tree()->connect("item_activated", callable_mp(this, &ConnectDialog::_item_activated));
tree->connect("node_selected", callable_mp(this, &ConnectDialog::_tree_node_selected));
tree->set_connect_to_script_mode(true);