diff options
Diffstat (limited to 'linden/indra/newview/llwindlightremotectrl.cpp')
-rw-r--r-- | linden/indra/newview/llwindlightremotectrl.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/linden/indra/newview/llwindlightremotectrl.cpp b/linden/indra/newview/llwindlightremotectrl.cpp index 591b413..510e1df 100644 --- a/linden/indra/newview/llwindlightremotectrl.cpp +++ b/linden/indra/newview/llwindlightremotectrl.cpp | |||
@@ -41,6 +41,9 @@ | |||
41 | #include "llwlparammanager.h" | 41 | #include "llwlparammanager.h" |
42 | #include "llviewercontrol.h" | 42 | #include "llviewercontrol.h" |
43 | 43 | ||
44 | // [RLVa:KB] - Alternate: Imprudence-1.2.0 | ||
45 | #include "rlvhandler.h" | ||
46 | // [/RLVa:KB] | ||
44 | 47 | ||
45 | class LLWindlightRemoteObserver : public LLWLPresetsObserver | 48 | class LLWindlightRemoteObserver : public LLWLPresetsObserver |
46 | { | 49 | { |
@@ -85,6 +88,14 @@ void LLWindlightRemoteCtrl::draw() | |||
85 | } | 88 | } |
86 | } | 89 | } |
87 | 90 | ||
91 | // [RLVa:KB] - Alternate: Imprudence-1.2.0 | ||
92 | if (rlv_handler_t::isEnabled()) | ||
93 | { | ||
94 | childSetEnabled("Environment", !gRlvHandler.hasBehaviour(RLV_BHVR_SETENV)); | ||
95 | mPresetsCombo->setEnabled(!gRlvHandler.hasBehaviour(RLV_BHVR_SETENV)); | ||
96 | } | ||
97 | // [/RLVA:KB] | ||
98 | |||
88 | LLPanel::draw(); | 99 | LLPanel::draw(); |
89 | } | 100 | } |
90 | 101 | ||