diff options
author | Rodrigo Troncoso <rod.tronco@gmail.com> | 2017-08-31 20:19:57 -0300 |
---|---|---|
committer | Rodrigo Troncoso <rod.tronco@gmail.com> | 2017-08-31 20:19:57 -0300 |
commit | cdc6b41663b085df9780fd4d89d851ac974d332d (patch) | |
tree | 1ebe0285d4903b214b13f11b69edf84855082f26 | |
parent | a1d7c496b923a247cd9f43552f783592f8f33791 (diff) |
Fix importer not applying saved default settings on load
-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 c175886d14..c30dd342a5 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; |