summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Linden <brad@lindenlab.com>2023-07-12 14:40:29 -0700
committerBrad Linden <brad@lindenlab.com>2023-07-12 14:40:29 -0700
commit0bc7cee2e18ae81526cda08298dce2e553e30ee9 (patch)
treec43ce7781b306e1b02e1fba43034124818732a59
parent2e713ea59dd498bf7cdf80d4c3348e6334be3dd8 (diff)
parent162f10e021d778e499836bd1f9d1f88b004b8017 (diff)
Merge branch 'brad/SL-19968-vocache-objects-missing' into DRTVWR-587-maint-V (#273)
-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 55fc663496..8d1f5b5f5b 100644
--- a/indra/newview/llvocache.cpp
+++ b/indra/newview/llvocache.cpp
@@ -1086,6 +1086,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)
{
@@ -1096,7 +1098,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();
}
}