Fix importer not applying saved default settings on load

This commit is contained in:
Rodrigo Troncoso 2017-08-31 20:19:57 -03:00
parent a1d7c496b9
commit cdc6b41663
1 changed files with 1 additions and 1 deletions

View File

@ -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;