diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2024-06-20 12:28:09 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2024-06-20 12:28:09 -0400 |
commit | d110358472b83f2f31d60ea0d76f1b426a087f56 (patch) | |
tree | 83617196e7d444c1063075e4a4c50fe19490a4ce /indra/newview/llfloatermodeluploadbase.cpp | |
parent | bb1f3f08cf93facbf926e57384674441be7e2884 (diff) | |
parent | e92689063bdbe34907348a12f1db39bc81132783 (diff) |
Merge branch 'release/luau-scripting' into lua-speedometer-demo
Diffstat (limited to 'indra/newview/llfloatermodeluploadbase.cpp')
-rw-r--r-- | indra/newview/llfloatermodeluploadbase.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/indra/newview/llfloatermodeluploadbase.cpp b/indra/newview/llfloatermodeluploadbase.cpp index 4427e913e3..ec4f7593ca 100644 --- a/indra/newview/llfloatermodeluploadbase.cpp +++ b/indra/newview/llfloatermodeluploadbase.cpp @@ -40,25 +40,25 @@ LLFloaterModelUploadBase::LLFloaterModelUploadBase(const LLSD& key) void LLFloaterModelUploadBase::requestAgentUploadPermissions() { - std::string capability = "MeshUploadFlag"; - std::string url = gAgent.getRegionCapability(capability); + std::string capability = "MeshUploadFlag"; + std::string url = gAgent.getRegionCapability(capability); - if (!url.empty()) - { - LL_INFOS()<< typeid(*this).name() - << "::requestAgentUploadPermissions() requesting for upload model permissions from: " - << url << LL_ENDL; + if (!url.empty()) + { + LL_INFOS()<< typeid(*this).name() + << "::requestAgentUploadPermissions() requesting for upload model permissions from: " + << url << LL_ENDL; LLCoros::instance().launch("LLFloaterModelUploadBase::requestAgentUploadPermissionsCoro", boost::bind(&LLFloaterModelUploadBase::requestAgentUploadPermissionsCoro, this, url, getPermObserverHandle())); - } - else - { - LLSD args; - args["CAPABILITY"] = capability; - LLNotificationsUtil::add("RegionCapabilityRequestError", args); - // BAP HACK avoid being blocked by broken server side stuff - mHasUploadPerm = true; - } + } + else + { + LLSD args; + args["CAPABILITY"] = capability; + LLNotificationsUtil::add("RegionCapabilityRequestError", args); + // BAP HACK avoid being blocked by broken server side stuff + mHasUploadPerm = true; + } } void LLFloaterModelUploadBase::requestAgentUploadPermissionsCoro(std::string url, @@ -78,7 +78,7 @@ void LLFloaterModelUploadBase::requestAgentUploadPermissionsCoro(std::string url LLUploadPermissionsObserver* observer = observerHandle.get(); if (!observer) - { + { LL_WARNS("MeshUploadFlag") << "Unable to get observer after call to '" << url << "' aborting." << LL_ENDL; return; } |