Merged in RLVa. Viewer broken!

This commit is contained in:
Siana Gearz
2010-11-07 05:05:47 +01:00
parent ae4a9521af
commit 740b570168
94 changed files with 11249 additions and 503 deletions

View File

@@ -38,6 +38,9 @@
#include "llcheckboxctrl.h"
#include "pipeline.h"
// [RLVa:KB]
#include "rlvhandler.h"
// [/RLVa:KB]
LLFloaterBeacons::LLFloaterBeacons(const LLSD& seed)
{
@@ -73,6 +76,13 @@ BOOL LLFloaterBeacons::postBuild()
// Too bad we can't just add control_name="BeaconAlwaysOn" to the XML.
void LLFloaterBeacons::open()
{
// [RLVa:KB] - Checked: 2009-07-04 (RLVa-1.0.0b)
if (gRlvHandler.hasBehaviour(RLV_BHVR_EDIT))
{
return;
}
// [/RLVa:KB]
LLFloater::open();
gSavedSettings.setBOOL( "BeaconAlwaysOn", TRUE);
}