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 committed Jun 3, 2024
1 parent 3ac9843 commit 7552d24
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 7552d24

Please sign in to comment.