Fix HTTP Assets not actually being turned on, woops!

Thanks for the report and testing, Torric!
Thanks for building the test build, Bitten!
This commit is contained in:
Lirusaito
2019-03-04 14:59:50 -05:00
parent ee3f48bcae
commit 065c56fce4

View File

@@ -369,7 +369,7 @@ void LLViewerAssetStorage::queueRequestUDP(
{
const auto region = gAgent.getRegion();
// Fallback on UDP if we have no cap or haven't received caps. This means missing some UDP-only region assets before caps received, but that's better for HTTP only.
bool with_http = !region || !region->capabilitiesReceived() || region->getViewerAssetUrl().empty();
bool with_http = !region || !region->capabilitiesReceived() || !region->getViewerAssetUrl().empty();
LLViewerAssetRequest *req = new LLViewerAssetRequest(uuid, atype, with_http);
req->mDownCallback = callback;
req->mUserData = user_data;