You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Show editable children in the connect dialog
This commit is contained in:
@@ -410,6 +410,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", callable_mp(this, &ConnectDialog::_item_activated));
|
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->connect("node_selected", callable_mp(this, &ConnectDialog::_tree_node_selected));
|
||||||
tree->set_connect_to_script_mode(true);
|
tree->set_connect_to_script_mode(true);
|
||||||
|
|||||||
Reference in New Issue
Block a user