소스 검색

Merge pull request #43968 from KoBeWi/nokia_connecting_nodes_xdxd

Show editable children in the connect dialog
Rémi Verschelde 4 년 전
부모
커밋
375cfa0d50
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      editor/connections_dialog.cpp

+ 1 - 0
editor/connections_dialog.cpp

@@ -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);