Merge pull request #30126 from qarmin/remove_unnecessary_code

Remove unnecessary code and add some error explanations
This commit is contained in:
Rémi Verschelde
2019-07-01 14:32:04 +02:00
committed by GitHub
48 changed files with 149 additions and 187 deletions

View File

@@ -69,7 +69,7 @@ void GroupDialog::_load_nodes(Node *p_current) {
keep = false;
}
TreeItem *node;
TreeItem *node = NULL;
NodePath path = scene_tree->get_edited_scene_root()->get_path_to(p_current);
if (keep && p_current->is_in_group(selected_group)) {
if (remove_filter->get_text().is_subsequence_ofi(String(p_current->get_name()))) {