From 978919227545cd96f6e1b7133c6186de80f1ff0a Mon Sep 17 00:00:00 2001 From: Paul Guslisty Date: Tue, 31 Aug 2010 19:42:46 +0300 Subject: VWR-22723 Add More category picker defaults whenever a clothing item is removed - After wearable removed from COF list, check: whether any outfit of the same wearable type as removed left in COF. If left then select it. - Added method selectClothing(LLWearableType::EType) to the LLCOFWearables that selects first clothing from COF of specified WearableType Reviewed by Vadim Savchuk --- indra/newview/llcofwearables.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'indra/newview/llcofwearables.h') diff --git a/indra/newview/llcofwearables.h b/indra/newview/llcofwearables.h index d981fa4196..1f8d6d0c94 100644 --- a/indra/newview/llcofwearables.h +++ b/indra/newview/llcofwearables.h @@ -86,6 +86,11 @@ public: LLCOFCallbacks& getCOFCallbacks() { return mCOFCallbacks; } + /** + * Selects first clothing item with specified LLWearableType::EType from clothing list + */ + void selectClothing(LLWearableType::EType clothing_type); + protected: void populateAttachmentsAndBodypartsLists(const LLInventoryModel::item_array_t& cof_items); -- cgit v1.2.3