summaryrefslogtreecommitdiff
path: root/indra/newview/lltexturefetch.cpp
diff options
context:
space:
mode:
authorIgor Borovkov <iborovkov@productengine.com>2009-12-10 19:02:32 +0200
committerIgor Borovkov <iborovkov@productengine.com>2009-12-10 19:02:32 +0200
commit3e13bc913f3e527b1a9d4f500ad038c06cdf6525 (patch)
tree3e93416b19e77afdd834a581206ddcad99dc8a58 /indra/newview/lltexturefetch.cpp
parentf11c6044562571d42c76abede6fa90db2b08493f (diff)
parent6a59342963aaf4188d1c1b104d71c31eae027d2b (diff)
merge
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/lltexturefetch.cpp')
-rw-r--r--indra/newview/lltexturefetch.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/newview/lltexturefetch.cpp b/indra/newview/lltexturefetch.cpp
index ef49d7f057..67007629c0 100644
--- a/indra/newview/lltexturefetch.cpp
+++ b/indra/newview/lltexturefetch.cpp
@@ -1630,6 +1630,16 @@ S32 LLTextureFetch::update(U32 max_time_ms)
{
sendRequestListToSimulators();
}
+
+ if (!mThreaded)
+ {
+ // Update Curl on same thread as mCurlGetRequest was constructed
+ S32 processed = mCurlGetRequest->process();
+ if (processed > 0)
+ {
+ lldebugs << "processed: " << processed << " messages." << llendl;
+ }
+ }
return res;
}