summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterworldmap.cpp
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2018-12-13 15:52:44 -0800
committerRider Linden <rider@lindenlab.com>2018-12-13 15:52:44 -0800
commit56d9d204f76978bf1373e15c84649a87d40dd16d (patch)
treec55324326ee8c8b05419d27b49f0b89aa63cd85a /indra/newview/llfloaterworldmap.cpp
parent9475a593a170f0c90a8d353de3e1277f844ee913 (diff)
parenta3b3ad727f53aa280ffbcc1b61ccfbb48e988708 (diff)
Merge
Diffstat (limited to 'indra/newview/llfloaterworldmap.cpp')
-rw-r--r--indra/newview/llfloaterworldmap.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llfloaterworldmap.cpp b/indra/newview/llfloaterworldmap.cpp
index 3c3b004d2c..1e9c9ce5e0 100644
--- a/indra/newview/llfloaterworldmap.cpp
+++ b/indra/newview/llfloaterworldmap.cpp
@@ -300,8 +300,8 @@ BOOL LLFloaterWorldMap::postBuild()
landmark_combo->setTextChangedCallback( boost::bind(&LLFloaterWorldMap::onComboTextEntry, this) );
mListLandmarkCombo = dynamic_cast<LLCtrlListInterface *>(landmark_combo);
- mCurZoomVal = log(LLWorldMapView::sMapScale)/log(2.f);
- getChild<LLUICtrl>("zoom slider")->setValue(LLWorldMapView::sMapScale);
+ mCurZoomVal = log(LLWorldMapView::sMapScale/256.f)/log(2.f);
+ getChild<LLUICtrl>("zoom slider")->setValue(mCurZoomVal);
setDefaultBtn(NULL);