summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-09-01 08:05:41 +0200
committerGitHub <noreply@github.com>2017-09-01 08:05:41 +0200
commit25bfd497921a5ce7ac50736c10415ea262a147bb (patch)
treeeb116aa70eea32691791b961177541e30b2e70cf /editor
parent77ec304966436405e2975f7da480846cc074f838 (diff)
parentcdc6b41663b085df9780fd4d89d851ac974d332d (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.cpp2
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;