Show editable children in the connect dialog

(cherry picked from commit c93a3bdaef)
This commit is contained in:
Tomasz Chabora 2020-11-30 00:37:32 +01:00 committed by Rémi Verschelde
parent c663b3d5f8
commit afdf189776
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

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