summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorCallum Prentice <callum@lindenlab.com>2021-03-10 17:03:56 -0800
committerCallum Prentice <callum@lindenlab.com>2021-03-10 17:03:56 -0800
commit5f5e52b5219d6f8f9ad284c90e66199a29531371 (patch)
tree7036787c847b849d2d4fc8c3358290d69b51ea67 /indra/newview
parentad2edc1d8336c745fc897197e2e85debf3654c17 (diff)
Fix for SL-14985 - bump the texture cache version so the texture cache is purged on startup after running an older version of the Viewer
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llappviewer.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index 6ede9ec0e7..a1e9ac2f87 100644
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -4099,8 +4099,11 @@ void LLAppViewer::migrateCacheDirectory()
//static
U32 LLAppViewer::getTextureCacheVersion()
{
- //viewer texture cache version, change if the texture cache format changes.
- const U32 TEXTURE_CACHE_VERSION = 8;
+ // Viewer texture cache version, change if the texture cache format changes.
+ // 2021-03-10 Bumping up by one to help obviate texture cache issues with
+ // Simple Cache Viewer - see SL-14985 for more information
+ //const U32 TEXTURE_CACHE_VERSION = 8;
+ const U32 TEXTURE_CACHE_VERSION = 9;
return TEXTURE_CACHE_VERSION ;
}