summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermenu.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2009-12-23 15:15:49 -0500
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2009-12-23 15:15:49 -0500
commit5c8b2deb82cfe753d6fe25e418f99f05d76e0b73 (patch)
tree23519ec1ae0eb3f9396b1e977d08449d23e703fa /indra/newview/llviewermenu.cpp
parent55c1f18c8d70304653d21373d3b71130123945b2 (diff)
For EXT-3622: Take off item, wear a different item --> first item is put on again. Fixed the 'remove all clothing' case.
Diffstat (limited to 'indra/newview/llviewermenu.cpp')
-rw-r--r--indra/newview/llviewermenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp
index 46a21066ba..620c700077 100644
--- a/indra/newview/llviewermenu.cpp
+++ b/indra/newview/llviewermenu.cpp
@@ -7423,7 +7423,7 @@ class LLEditTakeOff : public view_listener_t
{
std::string clothing = userdata.asString();
if (clothing == "all")
- LLAgentWearables::userRemoveAllClothes();
+ LLWearableBridge::removeAllClothesFromAvatar();
else
{
EWearableType type = LLWearableDictionary::typeNameToType(clothing);