diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-09-01 08:05:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-01 08:05:41 +0200 |
commit | 25bfd497921a5ce7ac50736c10415ea262a147bb (patch) | |
tree | eb116aa70eea32691791b961177541e30b2e70cf /editor | |
parent | 77ec304966436405e2975f7da480846cc074f838 (diff) | |
parent | cdc6b41663b085df9780fd4d89d851ac974d332d (diff) |
Merge pull request #10840 from rtroncoso/fix-reimporter-defaults-load
Fix importer not applying default settings
Diffstat (limited to 'editor')
-rw-r--r-- | editor/editor_file_system.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_file_system.cpp b/editor/editor_file_system.cpp index 3f4d466086..6e12a8fd02 100644 --- a/editor/editor_file_system.cpp +++ b/editor/editor_file_system.cpp @@ -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; |