summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterbeacons.cpp
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2011-03-31 16:02:15 -0700
committerLeyla Farazha <leyla@lindenlab.com>2011-03-31 16:02:15 -0700
commit17fc2e1f5b43a94985114722c1106bbc3332d33d (patch)
tree11e7f066c2407d97a8962433e4a34415615fcc6e /indra/newview/llfloaterbeacons.cpp
parent6896dd2f866e1a03d68d39f1cf32a66e080746ac (diff)
parent8ccf3fbe3ba49c47da85527bcf6cdbded6fa9183 (diff)
Merge
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);