summaryrefslogtreecommitdiff
path: root/editor/editor_plugin.cpp
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2017-06-27 20:49:28 -0300
committerGeorge Marques <george@gmarqu.es>2017-06-27 20:49:28 -0300
commit0e80dc88ad81528005aba0b6dd8a64a848222dbf (patch)
treed9e7d60e5031897d42fbedeeb4f10989b0887834 /editor/editor_plugin.cpp
parent3509acd4154dd3c1f0a2d6802e4e94fb63df026c (diff)
Fix filesystem update for import plugins
Diffstat (limited to 'editor/editor_plugin.cpp')
-rw-r--r--editor/editor_plugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor_plugin.cpp b/editor/editor_plugin.cpp
index 75ab1e8a44..e4b055a9e2 100644
--- a/editor/editor_plugin.cpp
+++ b/editor/editor_plugin.cpp
@@ -284,12 +284,12 @@ void EditorPlugin::save_global_state() {}
void EditorPlugin::add_import_plugin(const Ref<EditorImportPlugin> &p_importer) {
ResourceFormatImporter::get_singleton()->add_importer(p_importer);
- EditorFileSystem::get_singleton()->scan_changes();
+ EditorFileSystem::get_singleton()->scan();
}
void EditorPlugin::remove_import_plugin(const Ref<EditorImportPlugin> &p_importer) {
ResourceFormatImporter::get_singleton()->remove_importer(p_importer);
- EditorFileSystem::get_singleton()->scan_changes();
+ EditorFileSystem::get_singleton()->scan();
}
void EditorPlugin::set_window_layout(Ref<ConfigFile> p_layout) {