aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llappviewer.cpp
diff options
context:
space:
mode:
authorMcCabe Maxsted2011-07-05 20:13:34 -0700
committerMcCabe Maxsted2011-07-05 20:13:34 -0700
commita435295186fc501801bebcd2aea8b4ef76fb0a3b (patch)
tree50ef7088cada475eaabe45a82604b0242e2dc51c /linden/indra/newview/llappviewer.cpp
parentFixed #1011: chat range options aren't saved in prefs > notifications (diff)
downloadmeta-impy-a435295186fc501801bebcd2aea8b4ef76fb0a3b.zip
meta-impy-a435295186fc501801bebcd2aea8b4ef76fb0a3b.tar.gz
meta-impy-a435295186fc501801bebcd2aea8b4ef76fb0a3b.tar.bz2
meta-impy-a435295186fc501801bebcd2aea8b4ef76fb0a3b.tar.xz
Added debug setting KeepUnpackedCacheFiles to keep unpacked script, sound, and avatar files in the cache between restarts
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llappviewer.cpp14
1 files changed, 9 insertions, 5 deletions
diff --git a/linden/indra/newview/llappviewer.cpp b/linden/indra/newview/llappviewer.cpp
index 62b6242..c10c79b 100644
--- a/linden/indra/newview/llappviewer.cpp
+++ b/linden/indra/newview/llappviewer.cpp
@@ -1298,13 +1298,17 @@ bool LLAppViewer::cleanup()
1298 llinfos << "Settings patched up" << llendflush; 1298 llinfos << "Settings patched up" << llendflush;
1299 1299
1300 // delete some of the files left around in the cache. 1300 // delete some of the files left around in the cache.
1301 removeCacheFiles("*.wav"); 1301 if (!gSavedSettings.getBOOL("KeepUnpackedCacheFiles"))
1302 {
1303 LL_INFOS("AppCache") << "Purging unpacked files..." << llendl;
1304 removeCacheFiles("*.wav");
1305 removeCacheFiles("*.lso");
1306 removeCacheFiles("*.dsf");
1307 removeCacheFiles("*.bodypart");
1308 removeCacheFiles("*.clothing");
1309 }
1302 removeCacheFiles("*.tmp"); 1310 removeCacheFiles("*.tmp");
1303 removeCacheFiles("*.lso");
1304 removeCacheFiles("*.out"); 1311 removeCacheFiles("*.out");
1305 removeCacheFiles("*.dsf");
1306 removeCacheFiles("*.bodypart");
1307 removeCacheFiles("*.clothing");
1308 1312
1309 llinfos << "Cache files removed" << llendflush; 1313 llinfos << "Cache files removed" << llendflush;
1310 1314