From cdc6b41663b085df9780fd4d89d851ac974d332d Mon Sep 17 00:00:00 2001 From: Rodrigo Troncoso Date: Thu, 31 Aug 2017 20:19:57 -0300 Subject: [PATCH] Fix importer not applying saved default settings on load --- editor/editor_file_system.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/editor_file_system.cpp b/editor/editor_file_system.cpp index c175886d14e..c30dd342a56 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 v;