mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Unify usage of GLOBAL/EDITOR_GET
This commit is contained in:
parent
28a4eec9a7
commit
e48c5daddf
113 changed files with 528 additions and 528 deletions
|
@ -1060,7 +1060,7 @@ Variant _EDITOR_DEF(const String &p_setting, const Variant &p_default, bool p_re
|
|||
|
||||
Variant ret = p_default;
|
||||
if (EditorSettings::get_singleton()->has_setting(p_setting)) {
|
||||
ret = EditorSettings::get_singleton()->get(p_setting);
|
||||
ret = EDITOR_GET(p_setting);
|
||||
} else {
|
||||
EditorSettings::get_singleton()->set_manually(p_setting, p_default);
|
||||
EditorSettings::get_singleton()->set_restart_if_changed(p_setting, p_restart_if_changed);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue