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/llpanelclassified.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/llpanelclassified.cpp')
-rw-r--r-- | linden/indra/newview/llpanelclassified.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/linden/indra/newview/llpanelclassified.cpp b/linden/indra/newview/llpanelclassified.cpp index 4d28be5..3760815 100644 --- a/linden/indra/newview/llpanelclassified.cpp +++ b/linden/indra/newview/llpanelclassified.cpp | |||
@@ -760,7 +760,10 @@ void LLPanelClassified::refresh() | |||
760 | mClickThroughText->setVisible(is_self); | 760 | mClickThroughText->setVisible(is_self); |
761 | 761 | ||
762 | mSetBtn->setVisible(is_self); | 762 | mSetBtn->setVisible(is_self); |
763 | mSetBtn->setEnabled(is_self); | 763 | //mSetBtn->setEnabled(is_self); |
764 | // [RLVa:KB] - Checked: 2009-07-04 (RLVa-1.0.0a) | ||
765 | mSetBtn->setEnabled(is_self && (!gRlvHandler.hasBehaviour(RLV_BHVR_SHOWLOC)) ); | ||
766 | // [/RLVa:KB] | ||
764 | 767 | ||
765 | mUpdateBtn->setEnabled(is_self && checkDirty()); | 768 | mUpdateBtn->setEnabled(is_self && checkDirty()); |
766 | mUpdateBtn->setVisible(is_self); | 769 | mUpdateBtn->setVisible(is_self); |
@@ -964,6 +967,12 @@ void LLPanelClassified::onClickLandmark(void* data) | |||
964 | // static | 967 | // static |
965 | void LLPanelClassified::onClickSet(void* data) | 968 | void LLPanelClassified::onClickSet(void* data) |
966 | { | 969 | { |
970 | // [RLVa:KB] - Checked: 2009-07-04 (RLVa-1.0.0a) | ||
971 | if (gRlvHandler.hasBehaviour(RLV_BHVR_SHOWLOC)) | ||
972 | { | ||
973 | return; | ||
974 | } | ||
975 | // [/RLVa:KB] | ||
967 | LLPanelClassified* self = (LLPanelClassified*)data; | 976 | LLPanelClassified* self = (LLPanelClassified*)data; |
968 | 977 | ||
969 | // Save location for later. | 978 | // Save location for later. |