diff options
author | McCabe Maxsted | 2010-09-10 23:58:07 -0700 |
---|---|---|
committer | Jacek Antonelli | 2010-09-16 21:11:09 -0500 |
commit | ccd01beeb90fbaa183ab8b12db9afe576cb7e10c (patch) | |
tree | 22c93a1ceb45a5558c191ddf344addbac534b7f5 /linden/indra | |
parent | Fix for crash on bad teleports (diff) | |
download | meta-impy-ccd01beeb90fbaa183ab8b12db9afe576cb7e10c.zip meta-impy-ccd01beeb90fbaa183ab8b12db9afe576cb7e10c.tar.gz meta-impy-ccd01beeb90fbaa183ab8b12db9afe576cb7e10c.tar.bz2 meta-impy-ccd01beeb90fbaa183ab8b12db9afe576cb7e10c.tar.xz |
Fixed crash when right clicking a landmark and selecting 'About Landmark'.
TODO: fix duplicate LM request that shouldn't happen
Diffstat (limited to 'linden/indra')
-rw-r--r-- | linden/indra/newview/llpanelplace.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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, | |||
383 | std::string url = gAgent.getRegion()->getCapability("RemoteParcelRequest"); | 383 | std::string url = gAgent.getRegion()->getCapability("RemoteParcelRequest"); |
384 | if (!url.empty()) | 384 | if (!url.empty()) |
385 | { | 385 | { |
386 | body["location"] = ll_sd_from_vector3(pos_region); | 386 | body["location"] = ll_sd_from_vector3(mPosRegion); |
387 | if (!region_id.isNull()) | 387 | if (!region_id.isNull()) |
388 | { | 388 | { |
389 | body["region_id"] = region_id; | 389 | body["region_id"] = region_id; |
390 | } | 390 | } |
391 | if (!pos_global.isExactlyZero()) | 391 | if (!mPosGlobal.isExactlyZero()) |
392 | { | 392 | { |
393 | U64 region_handle = to_region_handle(pos_global); | 393 | U64 region_handle = to_region_handle(mPosGlobal); |
394 | body["region_handle"] = ll_sd_from_U64(region_handle); | 394 | body["region_handle"] = ll_sd_from_U64(region_handle); |
395 | } | 395 | } |
396 | LLHTTPClient::post(url, body, new LLRemoteParcelRequestResponder(this->getHandle())); | 396 | LLHTTPClient::post(url, body, new LLRemoteParcelRequestResponder(this->getHandle())); |