Skip to content

Commit

Permalink
Merge pull request godotengine#100670 from hpvb/fix-100666
Browse files Browse the repository at this point in the history
Don't recursively call `_update_tree`
  • Loading branch information
akien-mga committed Dec 20, 2024
2 parents 387230b + 62cff66 commit 91e7210
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/gui/scene_tree_editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ void SceneTreeEditor::_update_node_subtree(Node *p_node, TreeItem *p_parent, boo
item->set_selectable(0, false);
item->deselect(0);
if (selected == p_node) {
set_selected(nullptr, false);
selected = nullptr;
}
}
}
Expand Down

0 comments on commit 91e7210

Please sign in to comment.