summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authortbxMb <bastelbox31@gmail.com>2023-01-29 20:35:42 +0100
committerRĂ©mi Verschelde <rverschelde@gmail.com>2023-02-02 10:27:26 +0100
commit2c0446b8935987119913609be73aa4e176ecd491 (patch)
tree91a490647822b8500a3a736f8b566b446134d952 /editor
parent2e506516ee1775caef9c2277fbbb2bab7fd7e14d (diff)
Allow .gdshader files in 3to4 conversion
Diffstat (limited to 'editor')
-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) {