Merge pull request #78567 from NiskashY/master
Fix reimporting files with non lowercase name extension
This commit is contained in:
commit
7aff59f0b6
|
@ -544,7 +544,7 @@ bool EditorFileSystem::_scan_import_support(Vector<String> reimports) {
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int i = 0; i < reimports.size(); i++) {
|
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) {
|
if (E) {
|
||||||
import_support_tested.write[E->value] = true;
|
import_support_tested.write[E->value] = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue