You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
[Editor] Fix importers add-ons after 93238
This commit is contained in:
@@ -420,7 +420,9 @@ void EditorPlugin::add_import_plugin(const Ref<EditorImportPlugin> &p_importer,
|
|||||||
void EditorPlugin::remove_import_plugin(const Ref<EditorImportPlugin> &p_importer) {
|
void EditorPlugin::remove_import_plugin(const Ref<EditorImportPlugin> &p_importer) {
|
||||||
ERR_FAIL_COND(!p_importer.is_valid());
|
ERR_FAIL_COND(!p_importer.is_valid());
|
||||||
ResourceFormatImporter::get_singleton()->remove_importer(p_importer);
|
ResourceFormatImporter::get_singleton()->remove_importer(p_importer);
|
||||||
|
if (!EditorNode::get_singleton()->is_exiting()) {
|
||||||
callable_mp(EditorFileSystem::get_singleton(), &EditorFileSystem::scan).call_deferred();
|
callable_mp(EditorFileSystem::get_singleton(), &EditorFileSystem::scan).call_deferred();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPlugin::add_export_plugin(const Ref<EditorExportPlugin> &p_exporter) {
|
void EditorPlugin::add_export_plugin(const Ref<EditorExportPlugin> &p_exporter) {
|
||||||
|
|||||||
Reference in New Issue
Block a user