summaryrefslogtreecommitdiff
path: root/indra/newview/llwearable.cpp
diff options
context:
space:
mode:
authorLoren Shih <seraph@lindenlab.com>2010-05-13 17:24:54 -0400
committerLoren Shih <seraph@lindenlab.com>2010-05-13 17:24:54 -0400
commitaebb49520b1919e0ac2bcc7373fc2db031e3b7f0 (patch)
tree1af8dfa79e015a1dfbb2c6af7b3f1d4c34bc949d /indra/newview/llwearable.cpp
parent25711e6bce2baae1e6fd05948db11b2233cabf08 (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/llwearable.cpp')
-rw-r--r--indra/newview/llwearable.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llwearable.cpp b/indra/newview/llwearable.cpp
index 25ddf2c4bb..3ecd1296bd 100644
--- a/indra/newview/llwearable.cpp
+++ b/indra/newview/llwearable.cpp
@@ -88,7 +88,7 @@ static std::string asset_id_to_filename(const LLUUID &asset_id);
LLWearable::LLWearable(const LLTransactionID& transaction_id) :
mDefinitionVersion(LLWearable::sCurrentDefinitionVersion),
- mType(LLWearableType::WT_NONE)
+ mType(LLWearableType::WT_INVALID)
{
mTransactionID = transaction_id;
mAssetID = mTransactionID.makeAssetID(gAgent.getSecureSessionID());
@@ -96,7 +96,7 @@ LLWearable::LLWearable(const LLTransactionID& transaction_id) :
LLWearable::LLWearable(const LLAssetID& asset_id) :
mDefinitionVersion( LLWearable::sCurrentDefinitionVersion ),
- mType(LLWearableType::WT_NONE)
+ mType(LLWearableType::WT_INVALID)
{
mAssetID = asset_id;
mTransactionID.setNull();