diff options
author | heppocogne <83043568+heppocogne@users.noreply.github.com> | 2022-07-30 14:05:51 +0900 |
---|---|---|
committer | heppocogne <83043568+heppocogne@users.noreply.github.com> | 2022-07-30 14:05:51 +0900 |
commit | 1fad0522d041da7a477310bd8eb9cf4bd0156851 (patch) | |
tree | af1277be7cf36050ee86252b82b56db9b86e84f1 /editor/project_converter_3_to_4.cpp | |
parent | 9094262a6b9f3d7fc5aa8a8dd582ec1058bfce71 (diff) |
Fix a path handling issue of ProjectConverter3To4
Diffstat (limited to 'editor/project_converter_3_to_4.cpp')
-rw-r--r-- | editor/project_converter_3_to_4.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/project_converter_3_to_4.cpp b/editor/project_converter_3_to_4.cpp index 97013da05e..658258d98b 100644 --- a/editor/project_converter_3_to_4.cpp +++ b/editor/project_converter_3_to_4.cpp @@ -1898,14 +1898,14 @@ Vector<String> ProjectConverter3To4::check_for_files() { continue; } if (dir.current_is_dir()) { - directories_to_check.append(current_dir + file_name + "/"); + directories_to_check.append(current_dir.plus_file(file_name) + "/"); } else { bool proper_extension = false; if (file_name.ends_with(".gd") || file_name.ends_with(".shader") || file_name.ends_with(".tscn") || file_name.ends_with(".tres") || file_name.ends_with(".godot") || file_name.ends_with(".cs") || file_name.ends_with(".csproj")) proper_extension = true; if (proper_extension) { - collected_files.append(current_dir + file_name); + collected_files.append(current_dir.plus_file(file_name)); } } file_name = dir.get_next(); |