Fix importer not applying saved default settings on load
This commit is contained in:
parent
a1d7c496b9
commit
cdc6b41663
|
@ -1383,7 +1383,7 @@ void EditorFileSystem::_reimport_file(const String &p_file) {
|
|||
}
|
||||
}
|
||||
|
||||
if (load_default && ProjectSettings::get_singleton()->get("importer_defaults/" + importer->get_importer_name())) {
|
||||
if (load_default && ProjectSettings::get_singleton()->has("importer_defaults/" + importer->get_importer_name())) {
|
||||
//use defaults if exist
|
||||
Dictionary d = ProjectSettings::get_singleton()->get("importer_defaults/" + importer->get_importer_name());
|
||||
List<Variant> v;
|
||||
|
|
Loading…
Reference in New Issue