Merge pull request #92718 from jsjtxietian/importer-duplicate
Fix same importer will be added multiple times in `get_importers_for_extension`
This commit is contained in:
commit
4629845ead
|
@ -410,6 +410,7 @@ void ResourceFormatImporter::get_importers_for_extension(const String &p_extensi
|
||||||
for (const String &F : local_exts) {
|
for (const String &F : local_exts) {
|
||||||
if (p_extension.to_lower() == F) {
|
if (p_extension.to_lower() == F) {
|
||||||
r_importers->push_back(importers[i]);
|
r_importers->push_back(importers[i]);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue