1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-19 14:31:59 +00:00

Fix remote scene tree root folding

Fixes #25487
This commit is contained in:
Bojidar Marinov
2019-01-31 16:40:27 +02:00
parent 35bb52011a
commit 72472bef05

View File

@@ -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);