summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterbeacons.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-04-01 09:24:05 -0400
committerOz Linden <oz@lindenlab.com>2011-04-01 09:24:05 -0400
commit5e617d77f34f17f7a8f3677270f2738f857a60b8 (patch)
tree921afb347a56f21c0ae7d5c34aae73d9ec96b1bb /indra/newview/llfloaterbeacons.cpp
parente0ca936fbf7411bcc1cdd935a50c5913db6a1cb9 (diff)
parent8bc829220f8fc99180a1b1917220576a59de7339 (diff)
merge changes for storm-1072
Diffstat (limited to 'indra/newview/llfloaterbeacons.cpp')
-rw-r--r--indra/newview/llfloaterbeacons.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llfloaterbeacons.cpp b/indra/newview/llfloaterbeacons.cpp
index e24df948c4..316294a477 100644
--- a/indra/newview/llfloaterbeacons.cpp
+++ b/indra/newview/llfloaterbeacons.cpp
@@ -48,6 +48,7 @@ LLFloaterBeacons::LLFloaterBeacons(const LLSD& seed)
LLPipeline::setRenderParticleBeacons( gSavedSettings.getBOOL("particlesbeacon"));
LLPipeline::setRenderHighlights( gSavedSettings.getBOOL("renderhighlights"));
LLPipeline::setRenderBeacons( gSavedSettings.getBOOL("renderbeacons"));
+ LLPipeline::setRenderMOAPBeacons( gSavedSettings.getBOOL("moapbeacon"));
mCommitCallbackRegistrar.add("Beacons.UICheck", boost::bind(&LLFloaterBeacons::onClickUICheck, this,_1));
}
@@ -96,6 +97,7 @@ void LLFloaterBeacons::onClickUICheck(LLUICtrl *ctrl)
else if(name == "physical") LLPipeline::setRenderPhysicalBeacons(check->get());
else if(name == "sounds") LLPipeline::setRenderSoundBeacons(check->get());
else if(name == "particles") LLPipeline::setRenderParticleBeacons(check->get());
+ else if(name == "moapbeacon") LLPipeline::setRenderMOAPBeacons(check->get());
else if(name == "highlights")
{
LLPipeline::toggleRenderHighlights(NULL);