mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Restore script class cache if removed
I have no idea why anyone would do this, but this fixes it. Fixes #72154. Depends on #72444 being merged to function properly.
This commit is contained in:
parent
e9de988020
commit
79897dd5bc
6 changed files with 23 additions and 3 deletions
|
|
@ -814,7 +814,7 @@ Error EditorExportPlatform::export_project_files(const Ref<EditorExportPreset> &
|
|||
HashSet<String> paths;
|
||||
Vector<String> path_remaps;
|
||||
|
||||
paths.insert(ProjectSettings::get_singleton()->get_project_data_path().path_join("global_script_class_cache.cfg"));
|
||||
paths.insert(ProjectSettings::get_singleton()->get_global_class_list_path());
|
||||
if (p_preset->get_export_filter() == EditorExportPreset::EXPORT_ALL_RESOURCES) {
|
||||
//find stuff
|
||||
_export_find_resources(EditorFileSystem::get_singleton()->get_filesystem(), paths);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue