mirror of
https://github.com/godotengine/godot.git
synced 2025-12-31 01:49:10 +03:00
Add reverse UID cache
This commit is contained in:
@@ -2201,6 +2201,9 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
|
||||
initialize_modules(MODULE_INITIALIZATION_LEVEL_CORE);
|
||||
register_core_extensions(); // core extensions must be registered after globals setup and before display
|
||||
|
||||
if (!editor) {
|
||||
ResourceUID::get_singleton()->enable_reverse_cache();
|
||||
}
|
||||
ResourceUID::get_singleton()->load_from_cache(true); // Load UUIDs from cache.
|
||||
ProjectSettings::get_singleton()->fix_autoload_paths(); // Handles autoloads saved as UID.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user