diff options
author | Merov Linden <merov@lindenlab.com> | 2012-05-07 18:51:33 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2012-05-07 18:51:33 -0700 |
commit | ccb86a2a6675b21dda6267d4a850e5a09acbafa4 (patch) | |
tree | 463f869e21269a3232fd8c8dbb21ab5da72a2ab7 /indra | |
parent | 3eb139419c806f1aa68ba86bf3a44b53ef2c1102 (diff) |
SH-3126 : Cleanup image completion test as per Bao's review
Diffstat (limited to 'indra')
-rwxr-xr-x | indra/newview/lltexturefetch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lltexturefetch.cpp b/indra/newview/lltexturefetch.cpp index c7f522fc68..60d38e7436 100755 --- a/indra/newview/lltexturefetch.cpp +++ b/indra/newview/lltexturefetch.cpp @@ -1714,7 +1714,7 @@ S32 LLTextureFetchWorker::callbackHttpGet(const LLChannelDescriptors& channels, mBuffer = (U8*)ALLOCATE_MEM(LLImageBase::getPrivatePool(), data_size); buffer->readAfter(channels.in(), NULL, mBuffer, data_size); mBufferSize += data_size; - if ((data_size < mRequestedSize) || (mRequestedSize == 0)) + if (mRequestedSize == 0) { mHaveAllData = TRUE; } |