diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-02 10:32:36 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-02 10:32:36 +0100 |
commit | 315d3c4d21e4ee7df1e45593205e35d7a034aa6d (patch) | |
tree | 71c5f43fa48efaa904b0b27d8f148f62dfff3467 | |
parent | 7c5e0755312f6f1c8c7161b09ccba683a4895d1f (diff) | |
parent | 2c0446b8935987119913609be73aa4e176ecd491 (diff) |
Merge pull request #72334 from tbxMb/conv-ext-shader
Allow .gdshader files in 3to4 conversion
-rw-r--r-- | editor/project_converter_3_to_4.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/project_converter_3_to_4.cpp b/editor/project_converter_3_to_4.cpp index d3e16211f7..26f872421e 100644 --- a/editor/project_converter_3_to_4.cpp +++ b/editor/project_converter_3_to_4.cpp @@ -2404,7 +2404,7 @@ Vector<String> ProjectConverter3To4::check_for_files() { directories_to_check.append(current_dir.path_join(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")) + if (file_name.ends_with(".gd") || file_name.ends_with(".shader") || file_name.ends_with(".gdshader") || 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) { |