Merge pull request #33343 from KoBeWi/scene_tree_dusting

Another scene tree dock menu cleanup
This commit is contained in:
Rémi Verschelde 2019-11-07 15:17:14 +01:00 committed by GitHub
commit 99cc4d246f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 42 additions and 7 deletions

View file

@ -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()) {