diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2013-03-29 17:54:55 -0600 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2013-03-29 17:54:55 -0600 |
commit | da02b9f69471baa407188e2921b5c56c9b8d9415 (patch) | |
tree | ebfd0dab9cfcad275f896b84369db400633da460 | |
parent | 51e5997bd6f7f7d66a5843cf1d0b749b143460a8 (diff) |
save cache file when first login to a region.
-rw-r--r-- | indra/newview/llviewerregion.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llviewerregion.cpp b/indra/newview/llviewerregion.cpp index ed67d50dfd..64cf33a9eb 100644 --- a/indra/newview/llviewerregion.cpp +++ b/indra/newview/llviewerregion.cpp @@ -442,6 +442,10 @@ void LLViewerRegion::loadObjectCache() if(LLVOCache::hasInstance()) { LLVOCache::getInstance()->readFromCache(mHandle, mImpl->mCacheID, mImpl->mCacheMap) ; + if (mImpl->mCacheMap.empty())
+ {
+ mCacheDirty = TRUE;
+ } } } |