diff options
author | David Nikdel <david.nikdel@gmail.com> | 2024-03-06 12:14:21 -0500 |
---|---|---|
committer | David Nikdel <david.nikdel@gmail.com> | 2024-03-06 12:14:21 -0500 |
commit | 5e6adb4a2dd947432e59ca00b6d046a68c534e10 (patch) | |
tree | 5d21549ae2b555cc4d6029391e1400dbe63919e0 /main | |
parent | 1b2e0b32d727ceab387afcabba422f994038e439 (diff) | |
download | redot-engine-5e6adb4a2dd947432e59ca00b6d046a68c534e10.tar.gz |
Merge uid_cache.bin and global_script_class_cache.cfg after mounting PCKs
fixes godotengine#82061
fixes godotengine#61556
Also, distinguish between main pack and DLC packs.
It's desirable to downloaded content to be as small as possible. This change avoids bloating non-main pack files with new versions of resources that are all read on startup and never used again. They have no effect if loaded after startup.
- project.godot/project.binary file
- extension_list.cfg
- app icon and boot_splash
- .ico and .icns files (these can still be opted in for DLC by listing them explicitly in the include filter)
Diffstat (limited to 'main')
-rw-r--r-- | main/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/main.cpp b/main/main.cpp index ec66d47901..15f55fe180 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -1771,7 +1771,7 @@ 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 - ResourceUID::get_singleton()->load_from_cache(); // load UUIDs from cache. + ResourceUID::get_singleton()->load_from_cache(true); // load UUIDs from cache. if (ProjectSettings::get_singleton()->has_custom_feature("dedicated_server")) { audio_driver = NULL_AUDIO_DRIVER; |