From 0e80dc88ad81528005aba0b6dd8a64a848222dbf Mon Sep 17 00:00:00 2001 From: George Marques Date: Tue, 27 Jun 2017 20:49:28 -0300 Subject: Fix filesystem update for import plugins --- editor/editor_plugin.cpp | 4 ++-- 1 file 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 &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 &p_importer) { ResourceFormatImporter::get_singleton()->remove_importer(p_importer); - EditorFileSystem::get_singleton()->scan_changes(); + EditorFileSystem::get_singleton()->scan(); } void EditorPlugin::set_window_layout(Ref p_layout) { -- cgit v1.2.3