Revert "Rearrange project loading init"

This reverts commit f5c27569f0.
This commit is contained in:
Thaddeus Crews 2026-02-11 08:29:32 -06:00
parent 92a90a8e6f
commit 1fbbd665c6
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC

View file

@ -338,16 +338,15 @@ void EditorFileSystem::_first_scan_filesystem() {
ep.step(TTR("Verifying GDExtensions..."), 2, true);
GDExtensionManager::get_singleton()->ensure_extensions_loaded(extensions);
// Now that all the global class names should be loaded, create plugins.
// This is done after loading the global class names because plugins can use global class names.
ep.step(TTR("Initializing plugins..."), 3, true);
EditorNode::get_singleton()->init_plugins();
// Now that plugins and global class names should be loaded, create autoloads.
// This is done last because autoloads can use global class names and plugins.
ep.step(TTR("Creating autoload scripts..."), 4, true);
// Now that all the global class names should be loaded, create autoloads and plugins.
// This is done after loading the global class names because autoloads and plugins can use
// global class names.
ep.step(TTR("Creating autoload scripts..."), 3, true);
ProjectSettingsEditor::get_singleton()->init_autoloads();
ep.step(TTR("Initializing plugins..."), 4, true);
EditorNode::get_singleton()->init_plugins();
ep.step(TTR("Starting file scan..."), 5, true);
}