diff options
| author | gongpha <gongpha@hotmail.com> | 2020-12-31 14:43:03 +0700 |
|---|---|---|
| committer | gongpha <gongpha@hotmail.com> | 2021-01-06 14:46:48 +0700 |
| commit | bb867d41ee84c6ed979d5876556ab729205e76f8 (patch) | |
| tree | ae0dab427f7458c415ebb1a15199db340315362b /editor | |
| parent | 8a1c37dc2212da7c403b41c37875587083e93c10 (diff) | |
| download | redot-engine-bb867d41ee84c6ed979d5876556ab729205e76f8.tar.gz | |
Blocking updating in SceneTreeEditor when editing an item
Diffstat (limited to 'editor')
| -rw-r--r-- | editor/scene_tree_editor.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/editor/scene_tree_editor.cpp b/editor/scene_tree_editor.cpp index b8475656ee..7a9e0f7a3c 100644 --- a/editor/scene_tree_editor.cpp +++ b/editor/scene_tree_editor.cpp @@ -531,6 +531,10 @@ void SceneTreeEditor::_update_tree() { return; } + if (tree->is_editing()) { + return; + } + updating_tree = true; tree->clear(); if (get_scene_node()) { |
