You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Misc editor speedups for large scenes
This commit is contained in:
@@ -706,7 +706,12 @@ void SceneTreeEditor::_node_visibility_changed(Node *p_node) {
|
||||
return;
|
||||
}
|
||||
|
||||
TreeItem *item = _find(tree->get_root(), p_node->get_path());
|
||||
TreeItem *item;
|
||||
if (I->value.item && I->value.item->get_metadata(0) == p_node->get_path()) {
|
||||
item = I->value.item;
|
||||
} else {
|
||||
item = _find(tree->get_root(), p_node->get_path());
|
||||
}
|
||||
|
||||
if (!item) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user