summaryrefslogtreecommitdiff
path: root/indra/newview/lloutfitslist.h
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2024-03-13 22:15:56 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2024-05-09 23:50:03 +0300
commitb6d195a7472f2e9860fb6ebe6a0dbc35200c0ddc (patch)
tree3f493b83f0d21a2eedd6d5d8ca143f5fb50222cb /indra/newview/lloutfitslist.h
parenta420e84f4822d19388241f99a916dacc4d1eab61 (diff)
SL-20288 Fix renaming
getChangedIDs is only accurate in scope of observer's callback, don't use it onIdle. getObject call made no sense, item was warrantied to be LLViewerInventoryItem and would only be AT_CATEGORY if it is a link, making the following cast to a category dangerous
Diffstat (limited to 'indra/newview/lloutfitslist.h')
-rw-r--r--indra/newview/lloutfitslist.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/lloutfitslist.h b/indra/newview/lloutfitslist.h
index 8975ac09d1..70ce7d3412 100644
--- a/indra/newview/lloutfitslist.h
+++ b/indra/newview/lloutfitslist.h
@@ -110,6 +110,7 @@ public:
virtual bool getHasExpandableFolders() = 0;
protected:
+ void observerCallback(const LLUUID& category_id);
virtual LLOutfitListGearMenuBase* createGearMenu() = 0;
virtual void onHighlightBaseOutfit(LLUUID base_id, LLUUID prev_id) = 0;
virtual void onSetSelectedOutfitByUUID(const LLUUID& outfit_uuid) = 0;
@@ -128,6 +129,7 @@ protected:
uuid_vec_t::const_iterator AddedIterator;
uuid_vec_t::const_iterator RemovedIterator;
} mRefreshListState;
+ std::set<LLUUID> mChangedItems;
bool mIsInitialized;
LLInventoryCategoriesObserver* mCategoriesObserver;