summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorBrad Linden <brad@lindenlab.com>2023-07-12 14:41:54 -0700
committerBrad Linden <brad@lindenlab.com>2023-07-12 14:41:54 -0700
commitf6369a2f2246cf3828078f2c89736398e9f29869 (patch)
tree3aa4739deb3dad01dbe10ec97bc013eaa30fd7a5 /indra
parent0a93c3e22d8df03a9989ebd89e85c4f5a578a2ce (diff)
parent162f10e021d778e499836bd1f9d1f88b004b8017 (diff)
Merge branch 'brad/SL-19968-vocache-objects-missing' into DRTVWR-559 (#274)
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llvocache.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llvocache.cpp b/indra/newview/llvocache.cpp
index a4070a513c..a92057d010 100644
--- a/indra/newview/llvocache.cpp
+++ b/indra/newview/llvocache.cpp
@@ -1199,6 +1199,8 @@ void LLVOCache::initCache(ELLPath location, U32 size, U32 cache_version)
readCacheHeader();
+ LL_INFOS() << "Viewer Object Cache Versions - expected: " << cache_version << " found: " << mMetaInfo.mVersion << LL_ENDL;
+
if( mMetaInfo.mVersion != cache_version
|| mMetaInfo.mAddressSize != expected_address)
{
@@ -1209,7 +1211,8 @@ void LLVOCache::initCache(ELLPath location, U32 size, U32 cache_version)
clearCacheInMemory();
}
else //delete the current cache if the format does not match.
- {
+ {
+ LL_INFOS() << "Viewer Object Cache Versions unmatched. clearing cache." << LL_ENDL;
removeCache();
}
}