diff options
author | Brad Linden <brad@lindenlab.com> | 2023-07-12 14:41:54 -0700 |
---|---|---|
committer | Brad Linden <brad@lindenlab.com> | 2023-07-12 14:41:54 -0700 |
commit | f6369a2f2246cf3828078f2c89736398e9f29869 (patch) | |
tree | 3aa4739deb3dad01dbe10ec97bc013eaa30fd7a5 /indra | |
parent | 0a93c3e22d8df03a9989ebd89e85c4f5a578a2ce (diff) | |
parent | 162f10e021d778e499836bd1f9d1f88b004b8017 (diff) |
Merge branch 'brad/SL-19968-vocache-objects-missing' into DRTVWR-559 (#274)
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llvocache.cpp | 5 |
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(); } } |