From acce727c1291bca942fc3f79088c4c637fd762e1 Mon Sep 17 00:00:00 2001 From: Mnikolenko Productengine Date: Thu, 19 Nov 2020 20:36:11 +0200 Subject: SL-13278 FIXED Creating default clothing not accessible through "Edit My Outfit" for any type that does not already exist --- indra/newview/llpaneloutfitedit.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/indra/newview/llpaneloutfitedit.cpp b/indra/newview/llpaneloutfitedit.cpp index dd1130aeba..7c962c296b 100644 --- a/indra/newview/llpaneloutfitedit.cpp +++ b/indra/newview/llpaneloutfitedit.cpp @@ -703,6 +703,10 @@ void LLPanelOutfitEdit::onListViewFilterCommitted(LLUICtrl* ctrl) S32 curr_filter_type = mListViewFilterCmbBox->getCurrentIndex(); if (curr_filter_type < 0) return; + if (curr_filter_type >= LVIT_SHAPE) + { + mWearableItemsList->setMenuWearableType(LLWearableType::EType(curr_filter_type - LVIT_SHAPE)); + } mWearableListManager->setFilterCollector(mListViewItemTypes[curr_filter_type]->collector); } -- cgit v1.2.3