summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-02-02 10:32:36 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-02-02 10:32:36 +0100
commit315d3c4d21e4ee7df1e45593205e35d7a034aa6d (patch)
tree71c5f43fa48efaa904b0b27d8f148f62dfff3467
parent7c5e0755312f6f1c8c7161b09ccba683a4895d1f (diff)
parent2c0446b8935987119913609be73aa4e176ecd491 (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.cpp2
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) {