mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
Merge pull request #33343 from KoBeWi/scene_tree_dusting
Another scene tree dock menu cleanup
This commit is contained in:
@@ -1146,6 +1146,16 @@ List<Node *> &EditorSelection::get_selected_node_list() {
|
||||
return selected_node_list;
|
||||
}
|
||||
|
||||
List<Node *> EditorSelection::get_full_selected_node_list() {
|
||||
|
||||
List<Node *> node_list;
|
||||
for (Map<Node *, Object *>::Element *E = selection.front(); E; E = E->next()) {
|
||||
node_list.push_back(E->key());
|
||||
}
|
||||
|
||||
return node_list;
|
||||
}
|
||||
|
||||
void EditorSelection::clear() {
|
||||
|
||||
while (!selection.empty()) {
|
||||
|
||||
Reference in New Issue
Block a user