From 3e44a6375e775c34898acefd17ffde0116d3b533 Mon Sep 17 00:00:00 2001 From: ne0fhyk Date: Fri, 10 Sep 2021 08:32:29 -0700 Subject: Make the project data directory customizable. --- editor/find_in_files.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor/find_in_files.cpp') diff --git a/editor/find_in_files.cpp b/editor/find_in_files.cpp index 283496c0f1..b61f6e12eb 100644 --- a/editor/find_in_files.cpp +++ b/editor/find_in_files.cpp @@ -235,7 +235,7 @@ void FindInFiles::_scan_dir(String path, PackedStringArray &out_folders) { // Ignore special dirs (such as .git and project data directory) String project_data_dir_name = ProjectSettings::get_singleton()->get_project_data_dir_name(); - if (file.begins_with(".") || file == project_data_dir_name) { + if (file.begins_with(".") || file.begins_with(project_data_dir_name)) { continue; } if (dir->current_is_hidden()) { -- cgit v1.2.3