We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 787b63f commit 2a3fa69Copy full SHA for 2a3fa69
indra/newview/llwearableitemslist.cpp
@@ -994,8 +994,11 @@ void LLWearableItemsList::ContextMenu::updateItemsVisibility(LLContextMenu* menu
994
995
LLUUID linked_id = item->getLinkedUUID();
996
LLViewerInventoryItem* linked_item = gInventory.getItem(linked_id);
997
- can_favorite |= !linked_item->getIsFavorite();
998
- can_unfavorite |= linked_item->getIsFavorite();
+ if (linked_item)
+ {
999
+ can_favorite |= !linked_item->getIsFavorite();
1000
+ can_unfavorite |= linked_item->getIsFavorite();
1001
+ }
1002
1003
if (is_worn)
1004
{
0 commit comments