aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMcCabe Maxsted2010-08-16 12:38:47 -0700
committerMcCabe Maxsted2010-08-16 12:38:47 -0700
commita3b2453cb054fe041f9b44893540f178c5a82d5b (patch)
tree7477060aead638bbbca864e771853833c8a8714a
parentApplied patch from #405: show avatar age in profile, Ansariel Hiller ported t... (diff)
downloadmeta-impy-a3b2453cb054fe041f9b44893540f178c5a82d5b.zip
meta-impy-a3b2453cb054fe041f9b44893540f178c5a82d5b.tar.gz
meta-impy-a3b2453cb054fe041f9b44893540f178c5a82d5b.tar.bz2
meta-impy-a3b2453cb054fe041f9b44893540f178c5a82d5b.tar.xz
Incremented LLTextureCache::sHeaderCacheVersion to 1.3 and cache_version to 7 to fix SNOW-799
-rw-r--r--linden/indra/newview/llappviewer.cpp2
-rw-r--r--linden/indra/newview/lltexturecache.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/llappviewer.cpp b/linden/indra/newview/llappviewer.cpp
index 7879b36..f1cd447 100644
--- a/linden/indra/newview/llappviewer.cpp
+++ b/linden/indra/newview/llappviewer.cpp
@@ -2919,7 +2919,7 @@ bool LLAppViewer::initCache()
2919 // Purge cache if it belongs to an old version 2919 // Purge cache if it belongs to an old version
2920 else 2920 else
2921 { 2921 {
2922 static const S32 cache_version = 6; 2922 static const S32 cache_version = 7;
2923 if (gSavedSettings.getS32("LocalCacheVersion") != cache_version) 2923 if (gSavedSettings.getS32("LocalCacheVersion") != cache_version)
2924 { 2924 {
2925 mPurgeCache = true; 2925 mPurgeCache = true;
diff --git a/linden/indra/newview/lltexturecache.cpp b/linden/indra/newview/lltexturecache.cpp
index c5c14b5..2ed3bf5 100644
--- a/linden/indra/newview/lltexturecache.cpp
+++ b/linden/indra/newview/lltexturecache.cpp
@@ -869,7 +869,7 @@ bool LLTextureCache::updateTextureEntryList(const LLUUID& id, S32 bodysize)
869 869
870//static 870//static
871const S32 MAX_REASONABLE_FILE_SIZE = 512*1024*1024; // 512 MB 871const S32 MAX_REASONABLE_FILE_SIZE = 512*1024*1024; // 512 MB
872F32 LLTextureCache::sHeaderCacheVersion = 1.2f; 872F32 LLTextureCache::sHeaderCacheVersion = 1.3f;
873U32 LLTextureCache::sCacheMaxEntries = MAX_REASONABLE_FILE_SIZE / TEXTURE_CACHE_ENTRY_SIZE; 873U32 LLTextureCache::sCacheMaxEntries = MAX_REASONABLE_FILE_SIZE / TEXTURE_CACHE_ENTRY_SIZE;
874S64 LLTextureCache::sCacheMaxTexturesSize = 0; // no limit 874S64 LLTextureCache::sCacheMaxTexturesSize = 0; // no limit
875const char* entries_filename = "texture.entries"; 875const char* entries_filename = "texture.entries";