Fix same importer will be added multiple times in get_importers_for_extension

This commit is contained in:
jsjtxietian 2024-06-03 17:28:46 +08:00
parent 3ac98435ce
commit 7552d242a3

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