From 1e7415095c9674d8004ab4b226b2ef1d04293a03 Mon Sep 17 00:00:00 2001 From: Shyotl Date: Sat, 6 Aug 2011 18:17:55 -0500 Subject: [PATCH] mCurlGetRequest->process() kersploded. Debugger is being dumb, so adding an assertion for now. --- indra/newview/lltexturefetch.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/indra/newview/lltexturefetch.cpp b/indra/newview/lltexturefetch.cpp index 8caf60b02..d5e094b0f 100644 --- a/indra/newview/lltexturefetch.cpp +++ b/indra/newview/lltexturefetch.cpp @@ -1144,7 +1144,7 @@ bool LLTextureFetchWorker::doWork(S32 param) if (region) { - std::string http_url = region->getCapability("GetTexture"); + std::string http_url = region->getHttpUrl() ; if (!http_url.empty()) { mUrl = http_url + "/?texture_id=" + mID.asString().c_str(); @@ -2348,6 +2348,7 @@ void LLTextureFetch::commonUpdate() #endif // Update Curl on same thread as mCurlGetRequest was constructed + llassert_always(mCurlGetRequest); S32 processed = mCurlGetRequest->process(); if (processed > 0) {