Browse Source

Merge pull request #72334 from tbxMb/conv-ext-shader

Allow .gdshader files in 3to4 conversion
Rémi Verschelde 2 years ago
parent
commit
315d3c4d21
1 changed files with 1 additions and 1 deletions
  1. 1 1
      editor/project_converter_3_to_4.cpp

+ 1 - 1
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) {