summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerinventory.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2015-03-09 18:52:59 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2015-03-09 18:52:59 -0400
commit738195a98d3009becd5dbeaae7f77e70fff7de3e (patch)
tree315a6c514a8e9670c7f6457833aeab7e87aa5207 /indra/newview/llviewerinventory.cpp
parentd2b3d187d96cc85dee1709a121d4570f6488debb (diff)
SL-103 WIP - fix for some inventory items not enabling add
Diffstat (limited to 'indra/newview/llviewerinventory.cpp')
-rwxr-xr-xindra/newview/llviewerinventory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewerinventory.cpp b/indra/newview/llviewerinventory.cpp
index d6c8ba10f6..d112118082 100755
--- a/indra/newview/llviewerinventory.cpp
+++ b/indra/newview/llviewerinventory.cpp
@@ -2106,7 +2106,7 @@ LLWearableType::EType LLViewerInventoryItem::getWearableType() const
{
return LLWearableType::WT_INVALID;
}
- return LLWearableType::EType(getFlags() & LLInventoryItemFlags::II_FLAGS_WEARABLES_MASK);
+ return LLWearableType::inventoryFlagsToWearableType(getFlags());
}