summaryrefslogtreecommitdiff
path: root/indra/newview/llnetmap.cpp
diff options
context:
space:
mode:
authorprep <prep@lindenlab.com>2011-01-05 16:12:15 -0500
committerprep <prep@lindenlab.com>2011-01-05 16:12:15 -0500
commitc9f3a5574e223bec95b4ec374fd164ba9a486c2a (patch)
treeedbd6574b4133488f82e872bb86d3aacda4af216 /indra/newview/llnetmap.cpp
parent5b09da5079d576678eb5d66a5518044d1b22664f (diff)
parent7c7527b6727a6070fd7679ea28e4e2692452bf27 (diff)
merge
Diffstat (limited to 'indra/newview/llnetmap.cpp')
-rw-r--r--indra/newview/llnetmap.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llnetmap.cpp b/indra/newview/llnetmap.cpp
index f084002385..1a8ec4991d 100644
--- a/indra/newview/llnetmap.cpp
+++ b/indra/newview/llnetmap.cpp
@@ -94,10 +94,12 @@ LLNetMap::LLNetMap (const Params & p)
mToolTipMsg()
{
mDotRadius = llmax(DOT_SCALE * mPixelsPerMeter, MIN_DOT_RADIUS);
+ setScale(gSavedSettings.getF32("MiniMapScale"));
}
LLNetMap::~LLNetMap()
{
+ gSavedSettings.setF32("MiniMapScale", mScale);
}
void LLNetMap::setScale( F32 scale )