diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2011-02-02 12:42:59 -0700 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2011-02-02 12:42:59 -0700 |
commit | 9ba8087a00faebabc9ede757239185a02d7998c5 (patch) | |
tree | 536c03e8ae0321c5a59ed42f40674e595027b84b /indra | |
parent | 0edcdc42f2b4b1370d75d0b78fc3f9834b218449 (diff) |
fix for Sh-445: debug settings -> "CacheNumberOfRegionsForObjects" does not limit the number of object cache files
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llvocache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llvocache.cpp b/indra/newview/llvocache.cpp index b3312db4a0..a933500706 100644 --- a/indra/newview/llvocache.cpp +++ b/indra/newview/llvocache.cpp @@ -651,7 +651,7 @@ void LLVOCache::readFromCache(U64 handle, const LLUUID& id, LLVOCacheEntry::voca void LLVOCache::purgeEntries(U32 size) { - while(mHeaderEntryQueue.size() >= size) + while(mHeaderEntryQueue.size() > size) { header_entry_queue_t::iterator iter = mHeaderEntryQueue.begin() ; HeaderEntryInfo* entry = *iter ; |