Merge pull request #25516 from bojidar-bg/25487-folding-remote-tree
Fix remote scene tree root folding
This commit is contained in:
commit
21ee1d2198
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ void ScriptEditorDebugger::_scene_tree_folded(Object *obj) {
|
||||||
return;
|
return;
|
||||||
|
|
||||||
ObjectID id = item->get_metadata(0);
|
ObjectID id = item->get_metadata(0);
|
||||||
if (item->is_collapsed()) {
|
if (unfold_cache.has(id)) {
|
||||||
unfold_cache.erase(id);
|
unfold_cache.erase(id);
|
||||||
} else {
|
} else {
|
||||||
unfold_cache.insert(id);
|
unfold_cache.insert(id);
|
||||||
|
|
Loading…
Reference in a new issue