1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Cleanup unused engine code

This commit is contained in:
Tomasz Chabora
2020-12-08 22:51:48 +01:00
parent 90bdba576a
commit 2c048ea164
56 changed files with 4 additions and 615 deletions

View File

@@ -1934,23 +1934,6 @@ void SceneTreeDock::_selection_changed() {
_update_script_button();
}
Node *SceneTreeDock::_get_selection_group_tail(Node *p_node, List<Node *> p_list) {
Node *tail = p_node;
Node *parent = tail->get_parent();
for (int i = p_node->get_index(); i < parent->get_child_count(); i++) {
Node *sibling = parent->get_child(i);
if (p_list.find(sibling)) {
tail = sibling;
} else {
break;
}
}
return tail;
}
void SceneTreeDock::_do_create(Node *p_parent) {
Object *c = create_dialog->instance_selected();