diff options
| author | Rodrigo Troncoso | 2017-08-31 20:19:57 -0300 |
|---|---|---|
| committer | Rodrigo Troncoso | 2017-08-31 20:19:57 -0300 |
| commit | cdc6b41663b085df9780fd4d89d851ac974d332d (patch) | |
| tree | 1ebe0285d4903b214b13f11b69edf84855082f26 /editor/editor_file_system.cpp | |
| parent | a1d7c496b923a247cd9f43552f783592f8f33791 (diff) | |
| download | godot-cdc6b41663b085df9780fd4d89d851ac974d332d.tar.gz godot-cdc6b41663b085df9780fd4d89d851ac974d332d.tar.zst godot-cdc6b41663b085df9780fd4d89d851ac974d332d.zip | |
Diffstat (limited to 'editor/editor_file_system.cpp')
| -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 c175886d1..c30dd342a 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; |
