diff options
author | Rider Linden <none@none> | 2015-05-01 14:38:57 -0700 |
---|---|---|
committer | Rider Linden <none@none> | 2015-05-01 14:38:57 -0700 |
commit | 3abd8eaee82b4823fc20861fe520f4f54a3f10cc (patch) | |
tree | 5ccdb29a661b99331be49d7266e3d40cf452dc80 /indra/newview/llpanellandmarks.cpp | |
parent | 0b76b318db8bd3233595fb4164fd2e38a3d4553f (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/llpanellandmarks.cpp')
-rwxr-xr-x | indra/newview/llpanellandmarks.cpp | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/indra/newview/llpanellandmarks.cpp b/indra/newview/llpanellandmarks.cpp index 1d73d4bd6e..cd1dc0f070 100755 --- a/indra/newview/llpanellandmarks.cpp +++ b/indra/newview/llpanellandmarks.cpp @@ -1352,17 +1352,8 @@ void LLLandmarksPanel::doCreatePick(LLLandmark* landmark) std::string url = region->getCapability("RemoteParcelRequest"); if (!url.empty()) { - body["location"] = ll_sd_from_vector3(region_pos); - 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, region_pos, pos_global, getObserverHandle()); } else { |