Fix slow editor load on large projects (v2)

This commit is contained in:
Hilderin
2024-08-16 21:55:03 -04:00
parent 2be730a05b
commit 21f7c8a25f
10 changed files with 233 additions and 127 deletions

View File

@@ -507,7 +507,7 @@ bool ResourceFormatImporter::are_import_settings_valid(const String &p_path) con
for (int i = 0; i < importers.size(); i++) {
if (importers[i]->get_importer_name() == pat.importer) {
if (!importers[i]->are_import_settings_valid(p_path)) { //importer thinks this is not valid
if (!importers[i]->are_import_settings_valid(p_path, pat.metadata)) { //importer thinks this is not valid
return false;
}
}