diff options
author | Loren Shih <seraph@lindenlab.com> | 2010-05-13 17:24:54 -0400 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2010-05-13 17:24:54 -0400 |
commit | aebb49520b1919e0ac2bcc7373fc2db031e3b7f0 (patch) | |
tree | 1af8dfa79e015a1dfbb2c6af7b3f1d4c34bc949d /indra/newview/llviewerinventory.cpp | |
parent | 25711e6bce2baae1e6fd05948db11b2233cabf08 (diff) |
EXT-7305 : FIXED : Changed LLWearableDictionary to LLWearableType
Change enum naming to use WT_INVALID=255 instead of WT_NONE=255. Added WT_NONE as -1.
Diffstat (limited to 'indra/newview/llviewerinventory.cpp')
-rw-r--r-- | indra/newview/llviewerinventory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewerinventory.cpp b/indra/newview/llviewerinventory.cpp index 1e7780bb26..49748c59e8 100644 --- a/indra/newview/llviewerinventory.cpp +++ b/indra/newview/llviewerinventory.cpp @@ -1545,7 +1545,7 @@ LLWearableType::EType LLViewerInventoryItem::getWearableType() const if (!isWearableType()) { llwarns << "item is not a wearable" << llendl; - return LLWearableType::WT_NONE; + return LLWearableType::WT_INVALID; } return LLWearableType::EType(getFlags() & LLInventoryItemFlags::II_FLAGS_WEARABLES_MASK); } |