diff options
author | Danil Alexeev <danil@alexeev.xyz> | 2023-01-12 11:41:13 +0300 |
---|---|---|
committer | Danil Alexeev <danil@alexeev.xyz> | 2023-01-12 11:41:13 +0300 |
commit | 8f706be6fa122a0e3ebf6b48a011023f4a20516c (patch) | |
tree | 597fb592507e15a44495d475a2c14f069a4d1aeb /core/config | |
parent | 0e4e782ada0bdd4ef19415f82a6373e2d79f7ecc (diff) |
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 0bf7430d84..7a98c4707b 100644 --- a/core/config/project_settings.cpp +++ b/core/config/project_settings.cpp @@ -1285,6 +1285,10 @@ ProjectSettings::ProjectSettings() { GLOBAL_DEF("editor/script/templates_search_path", "res://script_templates"); custom_prop_info["editor/script/templates_search_path"] = PropertyInfo(Variant::STRING, "editor/script/templates_search_path", PROPERTY_HINT_DIR); + // 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. |