diff options
author | Bojidar Marinov <bojidar.marinov.bg@gmail.com> | 2019-01-31 16:40:27 +0200 |
---|---|---|
committer | Bojidar Marinov <bojidar.marinov.bg@gmail.com> | 2019-01-31 16:40:27 +0200 |
commit | 72472bef05ac02de29374d4863a60305b0186101 (patch) | |
tree | a231b7be261fed45c3761824eb8a4c644b5e4fc0 | |
parent | 35bb52011a4cbcd8ca3779ab1761244f06a33127 (diff) |
Fix remote scene tree root folding
Fixes #25487
-rw-r--r-- | editor/script_editor_debugger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/script_editor_debugger.cpp b/editor/script_editor_debugger.cpp index 5f6459045a..964936a14d 100644 --- a/editor/script_editor_debugger.cpp +++ b/editor/script_editor_debugger.cpp @@ -261,7 +261,7 @@ void ScriptEditorDebugger::_scene_tree_folded(Object *obj) { return; ObjectID id = item->get_metadata(0); - if (item->is_collapsed()) { + if (unfold_cache.has(id)) { unfold_cache.erase(id); } else { unfold_cache.insert(id); |