Skip to content

Commit

Permalink
Merge pull request #92718 from jsjtxietian/importer-duplicate
Browse files Browse the repository at this point in the history
Fix same importer will be added multiple times in `get_importers_for_extension`
  • Loading branch information
akien-mga committed Jun 11, 2024
2 parents 1a8c6e8 + 7552d24 commit 4629845
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/io/resource_importer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}
Expand Down

0 comments on commit 4629845

Please sign in to comment.