summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterscriptlimits.cpp
diff options
context:
space:
mode:
authorRider Linden <none@none>2015-05-01 14:38:57 -0700
committerRider Linden <none@none>2015-05-01 14:38:57 -0700
commit3abd8eaee82b4823fc20861fe520f4f54a3f10cc (patch)
tree5ccdb29a661b99331be49d7266e3d40cf452dc80 /indra/newview/llfloaterscriptlimits.cpp
parent0b76b318db8bd3233595fb4164fd2e38a3d4553f (diff)
Move remote parcel request to a coro in LLRemoteParcelInfoProcessor
Fix typo in twitter. Disable unit test for remote parcel info request until test infrastructure for new core is done.
Diffstat (limited to 'indra/newview/llfloaterscriptlimits.cpp')
-rwxr-xr-xindra/newview/llfloaterscriptlimits.cpp13
1 files changed, 2 insertions, 11 deletions
diff --git a/indra/newview/llfloaterscriptlimits.cpp b/indra/newview/llfloaterscriptlimits.cpp
index 5fbdd75e97..166ef5ed7a 100755
--- a/indra/newview/llfloaterscriptlimits.cpp
+++ b/indra/newview/llfloaterscriptlimits.cpp
@@ -935,17 +935,8 @@ BOOL LLPanelScriptLimitsRegionMemory::StartRequestChain()
std::string url = region->getCapability("RemoteParcelRequest");
if (!url.empty())
{
- body["location"] = ll_sd_from_vector3(parcel_center);
- if (!region_id.isNull())
- {
- body["region_id"] = region_id;
- }
- if (!pos_global.isExactlyZero())
- {
- U64 region_handle = to_region_handle(pos_global);
- body["region_handle"] = ll_sd_from_U64(region_handle);
- }
- LLHTTPClient::post(url, body, new LLRemoteParcelRequestResponder(getObserverHandle()));
+ LLRemoteParcelInfoProcessor::getInstance()->requestRegionParcelInfo(url,
+ region_id, parcel_center, pos_global, getObserverHandle());
}
else
{