Backwards compatible usage of "ViewerAsset" cap for Textures and Mesh

This commit is contained in:
Lirusaito
2019-02-28 08:50:27 -05:00
parent d6b5e9f5a5
commit 5de463638c
4 changed files with 34 additions and 9 deletions

View File

@@ -1241,7 +1241,8 @@ bool LLTextureFetchWorker::doWork(S32 param)
if (region)
{
std::string http_url = region->getHttpUrl() ;
std::string http_url = region->getViewerAssetUrl();
if (http_url.empty()) http_url = region->getCapability("GetTexture");
if (!http_url.empty())
{
if (mFTType != FTT_DEFAULT)