Merge branch 'master' of git://github.com/AlericInglewood/SingularityViewer

This commit is contained in:
Latif Khalifa
2014-01-16 08:18:04 +01:00
2 changed files with 4 additions and 2 deletions

View File

@@ -3285,6 +3285,8 @@ bool LLAppViewer::initCache()
{
LL_WARNS("AppCache") << "Unable to set cache location" << LL_ENDL;
gSavedSettings.setString("CacheLocation", "");
// Keep NewCacheLocation equal to CacheLocation so we won't try to erase the cache the next time the viewer is run.
gSavedSettings.setString("NewCacheLocation", "");
}
if (mPurgeCache && !read_only)