Add reverse UID cache
This commit is contained in:
parent
dec5a373d9
commit
60591dc7e8
4 changed files with 38 additions and 2 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue