aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde2017-06-28 07:49:37 +0200
committerGitHub2017-06-28 07:49:37 +0200
commit7fad30fb9ab0ea19d67b2640668cbb88ebb1747c (patch)
treea798ec151d69701e38776e588a07165c961ef469
parent9c0aa7f6ff749f86ac19b83d2e843c813211f929 (diff)
parent0e80dc88ad81528005aba0b6dd8a64a848222dbf (diff)
downloadgodot-7fad30fb9ab0ea19d67b2640668cbb88ebb1747c.tar.gz
godot-7fad30fb9ab0ea19d67b2640668cbb88ebb1747c.tar.zst
godot-7fad30fb9ab0ea19d67b2640668cbb88ebb1747c.zip
Merge pull request #9424 from vnen/fix-import-plugin
Fix filesystem update for import plugins
-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 75ab1e8a4..e4b055a9e 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) {