diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2023-07-13 12:58:13 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2023-07-13 12:58:13 -0400 |
commit | 1b91f2397afa39d5d32042b488b57e864fc468ba (patch) | |
tree | 754051ab3ad504c16ded32beb0e671f65ffa26dd /indra/newview | |
parent | 3fce3d14d6b8e367f4136efbfe87fcfcb23a4c8e (diff) | |
parent | 0bc7cee2e18ae81526cda08298dce2e553e30ee9 (diff) |
DRTVWR-587: Merge branch 'DRTVWR-587-maint-V' into dispatch-maint-v2
Diffstat (limited to 'indra/newview')
-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 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(); } } |