diff options
Diffstat (limited to 'linden/indra/newview/llfloaterbeacons.cpp')
-rw-r--r-- | linden/indra/newview/llfloaterbeacons.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/linden/indra/newview/llfloaterbeacons.cpp b/linden/indra/newview/llfloaterbeacons.cpp index d636776..7403df2 100644 --- a/linden/indra/newview/llfloaterbeacons.cpp +++ b/linden/indra/newview/llfloaterbeacons.cpp | |||
@@ -37,6 +37,9 @@ | |||
37 | #include "llcheckboxctrl.h" | 37 | #include "llcheckboxctrl.h" |
38 | #include "pipeline.h" | 38 | #include "pipeline.h" |
39 | 39 | ||
40 | // [RLVa:KB] - Checked: 2009-07-07 (RLVa-1.0.0d) | ||
41 | #include "llagent.h" | ||
42 | // [/RLVa:KB] | ||
40 | 43 | ||
41 | LLFloaterBeacons::LLFloaterBeacons(const LLSD& seed) | 44 | LLFloaterBeacons::LLFloaterBeacons(const LLSD& seed) |
42 | { | 45 | { |
@@ -72,6 +75,13 @@ BOOL LLFloaterBeacons::postBuild() | |||
72 | // Too bad we can't just add control_name="BeaconsEnabled" to the XML. | 75 | // Too bad we can't just add control_name="BeaconsEnabled" to the XML. |
73 | void LLFloaterBeacons::open() | 76 | void LLFloaterBeacons::open() |
74 | { | 77 | { |
78 | // [RLVa:KB] - Checked: 2009-07-04 (RLVa-1.0.0b) | ||
79 | if (gRlvHandler.hasBehaviour(RLV_BHVR_EDIT)) | ||
80 | { | ||
81 | return; | ||
82 | } | ||
83 | // [/RLVa:KB] | ||
84 | |||
75 | LLFloater::open(); | 85 | LLFloater::open(); |
76 | gSavedSettings.setBOOL( "BeaconsEnabled", TRUE); | 86 | gSavedSettings.setBOOL( "BeaconsEnabled", TRUE); |
77 | } | 87 | } |