Fix reimporting files with non lowercase name extension

This commit is contained in:
NiskashY 2023-06-22 17:33:13 +03:00 committed by Yuri Sizov
parent 1b3bf48526
commit fc6a6dd0f4

View file

@ -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;
}