diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2017-03-06 14:31:31 -0500 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2017-03-06 14:31:31 -0500 |
commit | 09a6daabd2c4281b071f9213906872ea8a744956 (patch) | |
tree | 0d10bfef2d0a28f68dfd40f6bc3429b6f2e30d1e /indra/newview/llviewerassetstorage.cpp | |
parent | f70abb4ad628b19c993a22c7e86d350395555fcf (diff) |
SL-409 - consolidated user of ViewerAsset cap for mesh and texture fetching as well.
Diffstat (limited to 'indra/newview/llviewerassetstorage.cpp')
-rw-r--r-- | indra/newview/llviewerassetstorage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewerassetstorage.cpp b/indra/newview/llviewerassetstorage.cpp index fa3567620c..41f407b8d9 100644 --- a/indra/newview/llviewerassetstorage.cpp +++ b/indra/newview/llviewerassetstorage.cpp @@ -538,7 +538,7 @@ void LLViewerAssetStorage::assetRequestCoro( std::string LLViewerAssetStorage::getAssetURL(const LLUUID& uuid, LLAssetType::EType atype) { - std::string cap_url = gAgent.getRegion()->getCapability("ViewerAsset"); + std::string cap_url = gAgent.getRegion()->getViewerAssetUrl(); std::string type_name = LLAssetType::lookup(atype); std::string url = cap_url + "/?" + type_name + "_id=" + uuid.asString(); return url; |