diff options
author | mobserveur <mobserveur@gmail.com> | 2024-06-18 10:28:14 +0200 |
---|---|---|
committer | mobserveur <mobserveur@gmail.com> | 2024-06-18 10:28:14 +0200 |
commit | 26f40db209589d9cdff32887e027f13cf77a8d17 (patch) | |
tree | c0de812e2cc70f0e9c9cf488fcc7c4832379d241 /indra | |
parent | 7e11007cd6188fbdd93847596baf7b57a122e81d (diff) |
Attempt to fix inventory issues
This is an attempt to fix inventory not showing some items
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llinventorypanel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp index 4ac43ea6b2..6f8a33933f 100644 --- a/indra/newview/llinventorypanel.cpp +++ b/indra/newview/llinventorypanel.cpp @@ -578,8 +578,8 @@ void LLInventoryPanel::itemChanged(const LLUUID& item_id, U32 mask, const LLInve if (model_item && view_item && viewmodel_item) { const LLUUID& idp = viewmodel_item->getUUID(); - view_item->destroyView(); removeItemID(idp); + view_item->destroyView(); } LLInventoryObject const* objectp = mInventory->getObject(item_id); @@ -2014,7 +2014,7 @@ void LLInventoryPanel::removeItemID(const LLUUID& id) ++it) { mItemMap.erase((*it)->getUUID()); -} + } for (LLInventoryModel::item_array_t::iterator it = items.begin(), end_it = items.end(); it != end_it; |