summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-08-11 13:42:42 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-08-11 13:42:42 +0100
commitf9a61bd30d2504ae1e00c64207e490cc128a144b (patch)
tree0c68d6ffe837275eaa15d89af8210ffad01ce2a9
parent766eaf9a50218864480001550f3622e34684f4da (diff)
parent863e380fb61121c977a6101b47accdb813c328af (diff)
merge from PE's viewer-release
-rw-r--r--indra/newview/lloutfitslist.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/indra/newview/lloutfitslist.cpp b/indra/newview/lloutfitslist.cpp
index f921bca623..2b6c80bac8 100644
--- a/indra/newview/lloutfitslist.cpp
+++ b/indra/newview/lloutfitslist.cpp
@@ -1038,14 +1038,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)