diff options
| author | Steven Bennetts <steve@lindenlab.com> | 2008-03-15 01:18:27 +0000 |
|---|---|---|
| committer | Steven Bennetts <steve@lindenlab.com> | 2008-03-15 01:18:27 +0000 |
| commit | 672a76d0ea08a0d0fc824e103ee4c4242b7e03ec (patch) | |
| tree | b623a9c884383ad75ed755b2c373db2b90643671 /indra/newview/llnetmap.cpp | |
| parent | 04611efae8a3291ceba8a29dd920bdae0d404830 (diff) | |
reverting premature commit at 82410.
Diffstat (limited to 'indra/newview/llnetmap.cpp')
| -rw-r--r-- | indra/newview/llnetmap.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llnetmap.cpp b/indra/newview/llnetmap.cpp index e24b5251e0..7ceb40499f 100644 --- a/indra/newview/llnetmap.cpp +++ b/indra/newview/llnetmap.cpp @@ -163,6 +163,8 @@ LLNetMap::LLNetMap( mPopupMenuHandle = menu->getHandle(); sInstance = this; + + gSavedSettings.getControl("MiniMapRotate")->addListener(&mNetMapListener); } LLNetMap::~LLNetMap() @@ -826,3 +828,9 @@ void LLNetMap::handleZoomLevel(void* which) break; } } + +bool LLRotateNetMapListener::handleEvent(LLPointer<LLEvent> event, const LLSD& user_data) +{ + LLNetMap::setRotateMap(event->getValue().asBoolean()); + return true; +} |
