diff options
Diffstat (limited to 'indra/newview/llviewerassetstorage.cpp')
-rw-r--r-- | indra/newview/llviewerassetstorage.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/indra/newview/llviewerassetstorage.cpp b/indra/newview/llviewerassetstorage.cpp index d95b104f5c..0ca896ce1a 100644 --- a/indra/newview/llviewerassetstorage.cpp +++ b/indra/newview/llviewerassetstorage.cpp @@ -424,12 +424,9 @@ void LLViewerAssetStorage::assetRequestCoro( llcoro::suspendUntilEventOn(capsRecv); } - else + if (mViewerAssetUrl.empty()) { - if (mViewerAssetUrl.empty()) - { - mViewerAssetUrl = gAgent.getRegion()->getViewerAssetUrl(); - } + mViewerAssetUrl = gAgent.getRegion()->getViewerAssetUrl(); } if (mViewerAssetUrl.empty()) { @@ -454,7 +451,6 @@ void LLViewerAssetStorage::assetRequestCoro( LLCore::HttpStatus status = LLCoreHttpUtil::HttpCoroutineAdapter::getStatusFromLLSD(httpResults); if (!status) { - // TODO asset-http: handle failures LL_DEBUGS("ViewerAsset") << "request failed, status " << status.toTerseString() << LL_ENDL; result_code = LL_ERR_ASSET_REQUEST_FAILED; ext_status = LL_EXSTAT_NONE; |