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:
Rémi Verschelde 2024-06-11 11:51:06 +02:00
commit 4629845ead
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -410,6 +410,7 @@ void ResourceFormatImporter::get_importers_for_extension(const String &p_extensi
for (const String &F : local_exts) {
if (p_extension.to_lower() == F) {
r_importers->push_back(importers[i]);
break;
}
}
}