diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-08-23 08:24:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-23 08:24:00 +0200 |
commit | 2477d414a1643e94f411843ad48e58d32076600e (patch) | |
tree | d70f1f364fc310cd4fc8e26c7b32b01e3b3e07bb /core/project_settings.cpp | |
parent | d5675c399681a4ed191e9420ff1d5164f4be0aa9 (diff) | |
parent | f013596760da0631bc6efb4c5ab527bf1553c1de (diff) |
Merge pull request #31111 from Xrayez/script-templates-project
Allow to define and load script templates per project
Diffstat (limited to 'core/project_settings.cpp')
-rw-r--r-- | core/project_settings.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/project_settings.cpp b/core/project_settings.cpp index 0a673fb638..eb88143db3 100644 --- a/core/project_settings.cpp +++ b/core/project_settings.cpp @@ -1019,6 +1019,9 @@ ProjectSettings::ProjectSettings() { GLOBAL_DEF("editor/search_in_file_extensions", extensions); custom_prop_info["editor/search_in_file_extensions"] = PropertyInfo(Variant::POOL_STRING_ARRAY, "editor/search_in_file_extensions"); + 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); + action = Dictionary(); action["deadzone"] = Variant(0.5f); events = Array(); |