summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatermap.cpp
diff options
context:
space:
mode:
authorJonathan Yap <none@none>2010-12-18 16:44:51 -0500
committerJonathan Yap <none@none>2010-12-18 16:44:51 -0500
commit09c7d38166e3f5d04ed6321b2ac06c4112bb858b (patch)
treea84da4e12d43b36bef99e74d05b50735826c233e /indra/newview/llfloatermap.cpp
parent452d9d5e3d5261fa5154bd1fe7ef6298dcacf074 (diff)
STORM-467 Fix for minimap zoom does not persist to the next session
Diffstat (limited to 'indra/newview/llfloatermap.cpp')
-rw-r--r--indra/newview/llfloatermap.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/indra/newview/llfloatermap.cpp b/indra/newview/llfloatermap.cpp
index 351b9ac5da..da32467423 100644
--- a/indra/newview/llfloatermap.cpp
+++ b/indra/newview/llfloatermap.cpp
@@ -83,7 +83,6 @@ LLFloaterMap::~LLFloaterMap()
BOOL LLFloaterMap::postBuild()
{
mMap = getChild<LLNetMap>("Net Map");
- mMap->setScale(gSavedSettings.getF32("MiniMapScale"));
mMap->setToolTipMsg(getString("ToolTipMsg"));
sendChildToBack(mMap);
@@ -296,7 +295,6 @@ void LLFloaterMap::handleZoom(const LLSD& userdata)
scale = LLNetMap::MAP_SCALE_MIN;
if (scale != 0.0f)
{
- gSavedSettings.setF32("MiniMapScale", scale );
mMap->setScale(scale);
}
}