diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-08-11 13:44:35 +0100 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-08-11 13:44:35 +0100 |
commit | 79e767b91da71c32d499ba4ffb4ee0b972d301e4 (patch) | |
tree | b9457a1fbc2bbd3d18462294ed2d407594b0ba79 /indra/newview/lloutfitslist.cpp | |
parent | 32fe67ec2ff41f989d7826f14fed0d66f0c923dc (diff) | |
parent | f9a61bd30d2504ae1e00c64207e490cc128a144b (diff) |
merge from viewer-release
Diffstat (limited to 'indra/newview/lloutfitslist.cpp')
-rw-r--r-- | indra/newview/lloutfitslist.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/indra/newview/lloutfitslist.cpp b/indra/newview/lloutfitslist.cpp index 8422b97b3a..f2207e5c00 100644 --- a/indra/newview/lloutfitslist.cpp +++ b/indra/newview/lloutfitslist.cpp @@ -1044,14 +1044,7 @@ void LLOutfitsList::wearSelectedItems() return; } - uuid_vec_t::const_iterator it; - // Wear items from all selected lists(if possible- add, else replace) - for (it = selected_uuids.begin(); it != selected_uuids.end()-1; ++it) - { - LLAppearanceMgr::getInstance()->wearItemOnAvatar(*it, false, false); - } - // call update only when wearing last item - LLAppearanceMgr::getInstance()->wearItemOnAvatar(*it, true, false); + wear_multiple(selected_uuids, false); } void LLOutfitsList::onWearableItemsListRightClick(LLUICtrl* ctrl, S32 x, S32 y) |