1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-12 13:20:55 +00:00

Don't edit objects when loading folding

This commit is contained in:
kobewi
2025-03-06 15:04:00 +01:00
parent 134da37497
commit c6c1a49bea
3 changed files with 7 additions and 4 deletions

View File

@@ -65,7 +65,7 @@ void EditorFolding::_set_unfolds(Object *p_object, const Vector<String> &p_unfol
const String *r = p_unfolds.ptr();
p_object->editor_clear_section_folding();
for (int i = 0; i < uc; i++) {
p_object->editor_set_section_unfold(r[i], true);
p_object->editor_set_section_unfold(r[i], true, true);
}
}