diff options
| author | Leyla Farazha <leyla@lindenlab.com> | 2010-05-13 17:30:42 -0700 |
|---|---|---|
| committer | Leyla Farazha <leyla@lindenlab.com> | 2010-05-13 17:30:42 -0700 |
| commit | 99c115696fadfd4197d93b9b1b6cfb2d0ffb14c5 (patch) | |
| tree | 857e9b14bcdd8822a6fdd3c964602cc5adb2152c /indra/newview/llpanelplacestab.cpp | |
| parent | 2af4875309450fa3d3e266426ada12330489a8c9 (diff) | |
| parent | 669953f6950000821c33e77d4c29ef0c905667f9 (diff) | |
Merge
Diffstat (limited to 'indra/newview/llpanelplacestab.cpp')
| -rw-r--r-- | indra/newview/llpanelplacestab.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/indra/newview/llpanelplacestab.cpp b/indra/newview/llpanelplacestab.cpp index 42cf3b03a3..0f3c51fb4f 100644 --- a/indra/newview/llpanelplacestab.cpp +++ b/indra/newview/llpanelplacestab.cpp @@ -71,10 +71,7 @@ void LLPanelPlacesTab::onRegionResponse(const LLVector3d& landmark_global_pos, std::string sl_url; if ( gotSimName ) { - F32 region_x = (F32)fmod( landmark_global_pos.mdV[VX], (F64)REGION_WIDTH_METERS ); - F32 region_y = (F32)fmod( landmark_global_pos.mdV[VY], (F64)REGION_WIDTH_METERS ); - - sl_url = LLSLURL::buildSLURL(sim_name, llround(region_x), llround(region_y), llround((F32)landmark_global_pos.mdV[VZ])); + sl_url = LLSLURL(sim_name, landmark_global_pos).getSLURLString(); } else { |
