1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +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

@@ -974,7 +974,7 @@ public:
#ifdef TOOLS_ENABLED
virtual void get_argument_options(const StringName &p_function, int p_idx, List<String> *r_options) const;
void editor_set_section_unfold(const String &p_section, bool p_unfolded);
void editor_set_section_unfold(const String &p_section, bool p_unfolded, bool p_initializing = false);
bool editor_is_section_unfolded(const String &p_section);
const HashSet<String> &editor_get_section_folding() const { return editor_section_folding; }
void editor_clear_section_folding() { editor_section_folding.clear(); }