diff options
author | callum_linden <none@none> | 2018-01-03 13:57:07 -0800 |
---|---|---|
committer | callum_linden <none@none> | 2018-01-03 13:57:07 -0800 |
commit | 3fbe1bd0c2ec9d23763175c79b8ae74f25c040a4 (patch) | |
tree | 8f963ace1db62a77f91d22e30a6219fc5aea95be /indra/newview/lltexturecache.cpp | |
parent | b2bbd91669690c22ded28a5890153bb780b7dc62 (diff) | |
parent | 2af6a857c42bd4d8f20d4fbad1bef5edaa27348f (diff) |
Automated merge with tip of viewer64
Diffstat (limited to 'indra/newview/lltexturecache.cpp')
-rw-r--r-- | indra/newview/lltexturecache.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/lltexturecache.cpp b/indra/newview/lltexturecache.cpp index 435d833345..371da5d0a2 100644 --- a/indra/newview/lltexturecache.cpp +++ b/indra/newview/lltexturecache.cpp @@ -1054,11 +1054,11 @@ S64 LLTextureCache::initCache(ELLPath location, S64 max_size, BOOL texture_cache return max_size ; } } - + if (!mReadOnly) { LLFile::mkdir(mTexturesDirName); - + const char* subdirs = "0123456789abcdef"; for (S32 i=0; i<16; i++) { @@ -1602,11 +1602,11 @@ void LLTextureCache::clearCorruptedCache() closeHeaderEntriesFile();//close possible file handler purgeAllTextures(false) ; //clear the cache. - + if (!mReadOnly) //regenerate the directory tree if not exists. { LLFile::mkdir(mTexturesDirName); - + const char* subdirs = "0123456789abcdef"; for (S32 i=0; i<16; i++) { |