Merge pull request #13777 from dback2/reloadContentScriptCache

Clear script cache with reload content
This commit is contained in:
David Back 2018-08-09 12:19:39 -07:00 committed by GitHub
commit 9779ce1b80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();