Skip to content

Commit

Permalink
Fix same importer will be added multiple times in `get_importers_for_…
Browse files Browse the repository at this point in the history
…extension`
  • Loading branch information
jsjtxietian authored and 2nafish117 committed Aug 5, 2024
1 parent ae95956 commit 8fc65a4
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 8fc65a4

Please sign in to comment.