diff options
author | Jacek Antonelli | 2009-09-04 01:56:20 -0500 |
---|---|---|
committer | Jacek Antonelli | 2009-09-04 03:39:51 -0500 |
commit | 89a510de10c48ebcf82b98a962e4bf66477dcc93 (patch) | |
tree | d30f79f433badffe36a67fc155e70a0e29dd2dc4 /linden/indra/newview/llfloaterbeacons.cpp | |
parent | Backported 1.23 fix for animation joint assertion crash. (diff) | |
download | meta-impy-89a510de10c48ebcf82b98a962e4bf66477dcc93.zip meta-impy-89a510de10c48ebcf82b98a962e4bf66477dcc93.tar.gz meta-impy-89a510de10c48ebcf82b98a962e4bf66477dcc93.tar.bz2 meta-impy-89a510de10c48ebcf82b98a962e4bf66477dcc93.tar.xz |
Applied Kitty Barnett's RLVa 1.0.1h (Restrained Life) patch.
Made a few non-functional changes to help it apply.
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 | } |