You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
Fix filesystem update for import plugins
This commit is contained in:
@@ -284,12 +284,12 @@ void EditorPlugin::save_global_state() {}
|
|||||||
|
|
||||||
void EditorPlugin::add_import_plugin(const Ref<EditorImportPlugin> &p_importer) {
|
void EditorPlugin::add_import_plugin(const Ref<EditorImportPlugin> &p_importer) {
|
||||||
ResourceFormatImporter::get_singleton()->add_importer(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) {
|
void EditorPlugin::remove_import_plugin(const Ref<EditorImportPlugin> &p_importer) {
|
||||||
ResourceFormatImporter::get_singleton()->remove_importer(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) {
|
void EditorPlugin::set_window_layout(Ref<ConfigFile> p_layout) {
|
||||||
|
|||||||
Reference in New Issue
Block a user