summaryrefslogtreecommitdiffstats
path: root/editor/editor_file_system.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-10-05 15:34:34 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-10-05 15:34:34 -0300
commit3d87b70f7a8cadaab581c481fcc51622e8043ee0 (patch)
tree0dcf539804decaf77f74086774a32c64872e7c11 /editor/editor_file_system.cpp
parent928efe06d672d8afeb595f75878746a51e4dc2ce (diff)
downloadredot-engine-3d87b70f7a8cadaab581c481fcc51622e8043ee0.tar.gz
Added the set/get_setting function in Editor/Project settings. Renamed has() to has_setting. Fixes #11844
Diffstat (limited to 'editor/editor_file_system.cpp')
-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 481f2a8179..4ae786391b 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()->has("importer_defaults/" + importer->get_importer_name())) {
+ if (load_default && ProjectSettings::get_singleton()->has_setting("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;