Blocking updating in SceneTreeEditor when editing an item

This commit is contained in:
gongpha
2020-12-31 14:43:03 +07:00
parent 8a1c37dc22
commit bb867d41ee
3 changed files with 9 additions and 0 deletions

View File

@@ -531,6 +531,10 @@ void SceneTreeEditor::_update_tree() {
return;
}
if (tree->is_editing()) {
return;
}
updating_tree = true;
tree->clear();
if (get_scene_node()) {