Skip to content

Commit

Permalink
Merge pull request #78567 from NiskashY/master
Browse files Browse the repository at this point in the history
Fix reimporting files with non lowercase name extension
  • Loading branch information
YuriSizov committed Jul 12, 2023
2 parents ff68900 + fc6a6dd commit 7aff59f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/editor_file_system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ bool EditorFileSystem::_scan_import_support(Vector<String> reimports) {
}

for (int i = 0; i < reimports.size(); i++) {
HashMap<String, int>::Iterator E = import_support_test.find(reimports[i].get_extension());
HashMap<String, int>::Iterator E = import_support_test.find(reimports[i].get_extension().to_lower());
if (E) {
import_support_tested.write[E->value] = true;
}
Expand Down

0 comments on commit 7aff59f

Please sign in to comment.