diff options
author | McCabe Maxsted | 2009-09-24 14:01:21 -0700 |
---|---|---|
committer | McCabe Maxsted | 2009-09-24 14:01:21 -0700 |
commit | da5c9c0ae9ca3fa1eb1430ab48e49491a8524dd7 (patch) | |
tree | 9b5f89cff49d785c21d171a27e3b13ef2ee485a5 /linden/indra/newview/llwindlightremotectrl.cpp | |
parent | Applied particle chat feature from Emerald viewer (tell an object it's select... (diff) | |
download | meta-impy-da5c9c0ae9ca3fa1eb1430ab48e49491a8524dd7.zip meta-impy-da5c9c0ae9ca3fa1eb1430ab48e49491a8524dd7.tar.gz meta-impy-da5c9c0ae9ca3fa1eb1430ab48e49491a8524dd7.tar.bz2 meta-impy-da5c9c0ae9ca3fa1eb1430ab48e49491a8524dd7.tar.xz |
Applied RLVa patch for Imprudence 1.2 by Kitty Barnett
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 | ||