1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Improve SceneTreeEditor usability

- Mark contextually relevant node
- Remember/Clear selection as appropriate
- Scroll to marked/selected node
This commit is contained in:
RedMser
2023-11-26 16:44:18 +01:00
parent 29b3d9e9e5
commit 9cd30208d6
9 changed files with 50 additions and 19 deletions

View File

@@ -131,7 +131,7 @@ void ReplicationEditor::_pick_new_property() {
EditorNode::get_singleton()->show_warning(TTR("Not possible to add a new property to synchronize without a root."));
return;
}
pick_node->popup_scenetree_dialog();
pick_node->popup_scenetree_dialog(nullptr, current);
pick_node->get_filter_line_edit()->clear();
pick_node->get_filter_line_edit()->grab_focus();
}