diff options
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llviewerassetstorage.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llviewerassetstorage.cpp b/indra/newview/llviewerassetstorage.cpp index 153108d8a9..496fbbecff 100644 --- a/indra/newview/llviewerassetstorage.cpp +++ b/indra/newview/llviewerassetstorage.cpp @@ -428,6 +428,11 @@ void LLViewerAssetStorage::queueRequestHttp( BOOL is_priority) { LL_DEBUGS("ViewerAsset") << "Request asset via HTTP " << uuid << " type " << LLAssetType::lookup(atype) << LL_ENDL; + if (!gAgent.getRegion()) + { + LL_WARNS() << "No region, fetch fails" << LL_ENDL; + return; + } std::string cap_url = gAgent.getRegion()->getCapability("ViewerAsset"); if (cap_url.empty()) { |