diff --git a/indra/newview/llagentwearables.cpp b/indra/newview/llagentwearables.cpp
index 886348d1a..e625e1b4c 100644
--- a/indra/newview/llagentwearables.cpp
+++ b/indra/newview/llagentwearables.cpp
@@ -1130,6 +1130,9 @@ void LLAgentWearables::makeNewOutfit(
if( old_wearable )
{
LLViewerInventoryItem* item = gInventory.getItem(getWearableItemID((LLWearableType::EType)index));
+ llassert(item);
+ if (!item)
+ continue;
if (fUseOutfits)
{
std::string strOrdering = llformat("@%d", item->getWearableType() * 100);
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp
index 94e3a4d73..9bbbf0b8f 100644
--- a/indra/newview/llinventorybridge.cpp
+++ b/indra/newview/llinventorybridge.cpp
@@ -797,7 +797,7 @@ void LLInvFVBridge::addDeleteContextMenuOptions(menuentry_vec_t &items,
}
// "Remove link" and "Delete" are the same operation.
- if (obj && obj->getIsLinkType() && !get_is_item_worn(mUUID))
+ if (obj && obj->getIsLinkType() /* && !get_is_item_worn(mUUID)*/)
{
items.push_back(std::string("Remove Link"));
}
@@ -4289,7 +4289,7 @@ void LLObjectBridge::buildContextMenu(LLMenuGL& menu, U32 flags)
if (!avatarp->canAttachMoreObjects())
{
- disabled_items.push_back(std::string("Object Wea"));
+ disabled_items.push_back(std::string("Object Wear"));
disabled_items.push_back(std::string("Object Add"));
disabled_items.push_back(std::string("Attach To"));
disabled_items.push_back(std::string("Attach To HUD"));
diff --git a/indra/newview/skins/default/xui/en-us/menu_inventory.xml b/indra/newview/skins/default/xui/en-us/menu_inventory.xml
index 9265e688a..c34e9fe34 100644
--- a/indra/newview/skins/default/xui/en-us/menu_inventory.xml
+++ b/indra/newview/skins/default/xui/en-us/menu_inventory.xml
@@ -198,7 +198,15 @@
name="Paste As Link" width="128">
+
+
+
+
+
+
@@ -267,10 +275,6 @@
-
-
-
@@ -302,5 +306,5 @@
-
+ <--menu_item_separator name="Wearable Separator" /-->