mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Don't edit objects when loading folding
This commit is contained in:
parent
134da37497
commit
c6c1a49bea
3 changed files with 7 additions and 4 deletions
|
@ -1654,8 +1654,11 @@ void Object::_clear_internal_resource_paths(const Variant &p_var) {
|
|||
}
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
void Object::editor_set_section_unfold(const String &p_section, bool p_unfolded) {
|
||||
set_edited(true);
|
||||
void Object::editor_set_section_unfold(const String &p_section, bool p_unfolded, bool p_initializing) {
|
||||
if (!p_initializing) {
|
||||
set_edited(true);
|
||||
}
|
||||
|
||||
if (p_unfolded) {
|
||||
editor_section_folding.insert(p_section);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue