From 065c56fce4e541661b67115dbb072899dacb27a9 Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Mon, 4 Mar 2019 14:59:50 -0500 Subject: [PATCH] Fix HTTP Assets not actually being turned on, woops! Thanks for the report and testing, Torric! Thanks for building the test build, Bitten! --- indra/newview/llviewerassetstorage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llviewerassetstorage.cpp b/indra/newview/llviewerassetstorage.cpp index 393bc56fc..7b6a6dd0c 100644 --- a/indra/newview/llviewerassetstorage.cpp +++ b/indra/newview/llviewerassetstorage.cpp @@ -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;