Преглед на файлове

Show editable children in the connect dialog

(cherry picked from commit c93a3bdaef485fa102ecab8ad37f5a43f730506d)
Tomasz Chabora преди 4 години
родител
ревизия
afdf189776
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      editor/connections_dialog.cpp

+ 1 - 0
editor/connections_dialog.cpp

@@ -398,6 +398,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", this, "_ok");
 	tree->connect("node_selected", this, "_tree_node_selected");
 	tree->set_connect_to_script_mode(true);