Remove TOOLS_ENABLED checks from editor/

This commit is contained in:
kobewi
2025-03-14 17:38:37 +01:00
parent b377562b52
commit 7cb2fb189a
34 changed files with 7 additions and 124 deletions

View File

@@ -2122,7 +2122,6 @@ void EditorSettings::notify_changes() {
root->propagate_notification(NOTIFICATION_EDITOR_SETTINGS_CHANGED);
}
#ifdef TOOLS_ENABLED
void EditorSettings::get_argument_options(const StringName &p_function, int p_idx, List<String> *r_options) const {
const String pf = p_function;
if (p_idx == 0) {
@@ -2149,7 +2148,6 @@ void EditorSettings::get_argument_options(const StringName &p_function, int p_id
}
Object::get_argument_options(p_function, p_idx, r_options);
}
#endif
void EditorSettings::_bind_methods() {
ClassDB::bind_method(D_METHOD("has_setting", "name"), &EditorSettings::has_setting);