mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
Merge pull request #13777 from dback2/reloadContentScriptCache
Clear script cache with reload content
This commit is contained in:
commit
9779ce1b80
1 changed files with 1 additions and 0 deletions
|
@ -5285,6 +5285,7 @@ void Application::reloadResourceCaches() {
|
|||
queryOctree(NodeType::EntityServer, PacketType::EntityQuery);
|
||||
|
||||
DependencyManager::get<AssetClient>()->clearCache();
|
||||
DependencyManager::get<ScriptCache>()->clearCache();
|
||||
|
||||
DependencyManager::get<AnimationCache>()->refreshAll();
|
||||
DependencyManager::get<ModelCache>()->refreshAll();
|
||||
|
|
Loading…
Reference in a new issue