diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2017-04-26 12:39:14 -0400 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2017-04-26 12:39:14 -0400 |
commit | b7b8d6e1aedeac1dfdfcc9200024bbcc8e2dacae (patch) | |
tree | c6d65c1319d9fd5a80473d0c2cd8e528e916af68 /indra/newview/lltexturefetch.cpp | |
parent | e6f53dedb704c92af45ede2d97c559cb6639358f (diff) |
MAINT-7343 - added periodic logging of state of the asset store.
Diffstat (limited to 'indra/newview/lltexturefetch.cpp')
-rw-r--r-- | indra/newview/lltexturefetch.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/lltexturefetch.cpp b/indra/newview/lltexturefetch.cpp index 09d7c2eb2d..7245a70962 100644 --- a/indra/newview/lltexturefetch.cpp +++ b/indra/newview/lltexturefetch.cpp @@ -1428,7 +1428,10 @@ bool LLTextureFetchWorker::doWork(S32 param) F64 byte_count = 0; for (S32 i=mFirstPacket; i<=mLastPacket; i++) { - byte_count += mPackets[i]->mSize; + if (mPackets[i]) + { + byte_count += mPackets[i]->mSize; + } } LL_DEBUGS(LOG_TXT) << mID << ": Loaded from Sim. Bytes: " << mFormattedImage->getDataSize() << LL_ENDL; |