You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Added a setting for files in which the editor should search (project wise).
Remembers the tickboxes but only during the same execution Fixes #25440
This commit is contained in:
@@ -1005,6 +1005,15 @@ ProjectSettings::ProjectSettings() {
|
||||
GLOBAL_DEF("application/config/custom_user_dir_name", "");
|
||||
GLOBAL_DEF("application/config/project_settings_override", "");
|
||||
|
||||
PoolStringArray extensions = PoolStringArray();
|
||||
extensions.push_back("gd");
|
||||
if (Engine::get_singleton()->has_singleton("GodotSharp"))
|
||||
extensions.push_back("cs");
|
||||
extensions.push_back("shader");
|
||||
|
||||
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");
|
||||
|
||||
action = Dictionary();
|
||||
action["deadzone"] = Variant(0.5f);
|
||||
events = Array();
|
||||
|
||||
Reference in New Issue
Block a user