diff options
author | Yuri Sizov <11782833+YuriSizov@users.noreply.github.com> | 2023-01-24 22:26:03 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-24 22:26:03 +0300 |
commit | fab9926a958ffb5771c59a93f4416d3f3df45240 (patch) | |
tree | 1a022f066c756ff1867d7a8fa74a26d6af48a184 /core/config | |
parent | 9de0c73e4529afe3ea060332a03e17cc0581efd8 (diff) | |
parent | 8f706be6fa122a0e3ebf6b48a011023f4a20516c (diff) |
Merge pull request #65137 from dalexeev/editor-naming
Rearrange `editor/naming/*` project settings
Diffstat (limited to 'core/config')
-rw-r--r-- | core/config/project_settings.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/config/project_settings.cpp b/core/config/project_settings.cpp index db3191334a..00e74a7cce 100644 --- a/core/config/project_settings.cpp +++ b/core/config/project_settings.cpp @@ -1286,6 +1286,10 @@ ProjectSettings::ProjectSettings() { GLOBAL_DEF(PropertyInfo(Variant::STRING, "editor/script/templates_search_path", PROPERTY_HINT_DIR), "res://script_templates"); + // For correct doc generation. + GLOBAL_DEF("editor/naming/default_signal_callback_name", "_on_{node_name}_{signal_name}"); + GLOBAL_DEF("editor/naming/default_signal_callback_to_self_name", "_on_{signal_name}"); + _add_builtin_input_map(); // Keep the enum values in sync with the `DisplayServer::ScreenOrientation` enum. |