diff options
author | Jacek Antonelli | 2008-09-16 12:20:16 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-16 12:23:21 -0500 |
commit | d98f0844bd9d3dc6740d45960a65dd4e8f11e9ec (patch) | |
tree | e70dd3c5dd88873f156921cdb3e6f1f16b26c6bf /linden | |
parent | Applied VWR-3878: Purging cache textures causes viewer to pause (diff) | |
download | meta-impy-d98f0844bd9d3dc6740d45960a65dd4e8f11e9ec.zip meta-impy-d98f0844bd9d3dc6740d45960a65dd4e8f11e9ec.tar.gz meta-impy-d98f0844bd9d3dc6740d45960a65dd4e8f11e9ec.tar.bz2 meta-impy-d98f0844bd9d3dc6740d45960a65dd4e8f11e9ec.tar.xz |
Skip "N files scheduled for deletion" message when nothing scheduled.
Diffstat (limited to 'linden')
-rw-r--r-- | linden/indra/newview/lltexturecache.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/linden/indra/newview/lltexturecache.cpp b/linden/indra/newview/lltexturecache.cpp index 0fbb3d9..ac956e2 100644 --- a/linden/indra/newview/lltexturecache.cpp +++ b/linden/indra/newview/lltexturecache.cpp | |||
@@ -1315,7 +1315,10 @@ void LLTextureCache::purgeTextureFilesTimeSliced(BOOL force_all) | |||
1315 | LLTimer timer; | 1315 | LLTimer timer; |
1316 | S32 howmany = 0; | 1316 | S32 howmany = 0; |
1317 | 1317 | ||
1318 | llinfos << "TEXTURE CACHE: " << mFilesToDelete.size() << " files scheduled for deletion" << llendl; | 1318 | if (mFilesToDelete.size() > 0) |
1319 | { | ||
1320 | llinfos << "TEXTURE CACHE: " << mFilesToDelete.size() << " files scheduled for deletion" << llendl; | ||
1321 | } | ||
1319 | 1322 | ||
1320 | for (LLTextureCache::filename_list_t::iterator iter = mFilesToDelete.begin(); iter!=mFilesToDelete.end(); ) | 1323 | for (LLTextureCache::filename_list_t::iterator iter = mFilesToDelete.begin(); iter!=mFilesToDelete.end(); ) |
1321 | { | 1324 | { |