You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Add missing packed scene cache clear inside GDScriptCache::clear()
This commit is contained in:
@@ -398,6 +398,11 @@ void GDScriptCache::clear() {
|
||||
E->clear();
|
||||
}
|
||||
|
||||
for (KeyValue<String, HashSet<String>> &E : singleton->packed_scene_dependencies) {
|
||||
singleton->packed_scene_dependencies.erase(E.key);
|
||||
singleton->packed_scene_cache.erase(E.key);
|
||||
}
|
||||
|
||||
parser_map_refs.clear();
|
||||
singleton->parser_map.clear();
|
||||
singleton->shallow_gdscript_cache.clear();
|
||||
|
||||
Reference in New Issue
Block a user