From ccd01beeb90fbaa183ab8b12db9afe576cb7e10c Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Fri, 10 Sep 2010 23:58:07 -0700 Subject: Fixed crash when right clicking a landmark and selecting 'About Landmark'. TODO: fix duplicate LM request that shouldn't happen --- linden/indra/newview/llpanelplace.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'linden/indra') diff --git a/linden/indra/newview/llpanelplace.cpp b/linden/indra/newview/llpanelplace.cpp index d7939b9..eb3d17d 100644 --- a/linden/indra/newview/llpanelplace.cpp +++ b/linden/indra/newview/llpanelplace.cpp @@ -383,14 +383,14 @@ void LLPanelPlace::displayParcelInfo(const LLVector3& pos_region, std::string url = gAgent.getRegion()->getCapability("RemoteParcelRequest"); if (!url.empty()) { - body["location"] = ll_sd_from_vector3(pos_region); + body["location"] = ll_sd_from_vector3(mPosRegion); if (!region_id.isNull()) { body["region_id"] = region_id; } - if (!pos_global.isExactlyZero()) + if (!mPosGlobal.isExactlyZero()) { - U64 region_handle = to_region_handle(pos_global); + U64 region_handle = to_region_handle(mPosGlobal); body["region_handle"] = ll_sd_from_U64(region_handle); } LLHTTPClient::post(url, body, new LLRemoteParcelRequestResponder(this->getHandle())); -- cgit v1.1