diff options
author | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-04-29 07:43:28 +0300 |
---|---|---|
committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-04-29 07:56:09 +0300 |
commit | 1b68f71348ecf3983b76b40d7940da8377f049b7 (patch) | |
tree | 2974eddaef130a067c26033d60a59fc790365b3d /indra/newview/llfloatermodeluploadbase.cpp | |
parent | af4ea94efc1999f3b19fd8d643d0331f0b77e265 (diff) |
#824 Process source files in bulk: replace tabs with spaces, convert CRLF to LF, and trim trailing whitespaces as needed
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; } |