Fix remote scene tree root folding
Fixes #25487
(cherry picked from commit 72472bef05
)
This commit is contained in:
parent
6319d662af
commit
ef6807b34c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue