diff options
Diffstat (limited to 'linden/indra/newview/llviewermenu.cpp')
-rw-r--r-- | linden/indra/newview/llviewermenu.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/linden/indra/newview/llviewermenu.cpp b/linden/indra/newview/llviewermenu.cpp index 5172072..f97fffd 100644 --- a/linden/indra/newview/llviewermenu.cpp +++ b/linden/indra/newview/llviewermenu.cpp | |||
@@ -8146,6 +8146,14 @@ class LLEditEnableTakeOff : public view_listener_t | |||
8146 | { | 8146 | { |
8147 | new_value = LLAgent::selfHasWearable((void *)WT_SKIRT); | 8147 | new_value = LLAgent::selfHasWearable((void *)WT_SKIRT); |
8148 | } | 8148 | } |
8149 | if (clothing == "alpha") | ||
8150 | { | ||
8151 | new_value = LLAgent::selfHasWearable((void *)WT_ALPHA); | ||
8152 | } | ||
8153 | if (clothing == "tattoo") | ||
8154 | { | ||
8155 | new_value = LLAgent::selfHasWearable((void *)WT_TATTOO); | ||
8156 | } | ||
8149 | 8157 | ||
8150 | // [RLVa:KB] - Checked: 2009-07-07 (RLVa-1.0.0d) | 8158 | // [RLVa:KB] - Checked: 2009-07-07 (RLVa-1.0.0d) |
8151 | // Why aren't they using LLWearable::typeNameToType()? *confuzzled* | 8159 | // Why aren't they using LLWearable::typeNameToType()? *confuzzled* |
@@ -8201,6 +8209,14 @@ class LLEditTakeOff : public view_listener_t | |||
8201 | { | 8209 | { |
8202 | LLAgent::userRemoveWearable((void*)WT_SKIRT); | 8210 | LLAgent::userRemoveWearable((void*)WT_SKIRT); |
8203 | } | 8211 | } |
8212 | else if (clothing == "alpha") | ||
8213 | { | ||
8214 | LLAgent::userRemoveWearable((void*)WT_ALPHA); | ||
8215 | } | ||
8216 | else if (clothing == "tattoo") | ||
8217 | { | ||
8218 | LLAgent::userRemoveWearable((void*)WT_TATTOO); | ||
8219 | } | ||
8204 | else if (clothing == "all") | 8220 | else if (clothing == "all") |
8205 | { | 8221 | { |
8206 | LLAgent::userRemoveAllClothesConfirm(); | 8222 | LLAgent::userRemoveAllClothesConfirm(); |