Refactoring.
-New LLWearableType class, uses LLDictionary for typeindex<->typename<->assettype<->typelabel conversions. -LLAvatarDefines cleaned up. Uses LLDictionary for Mesh, TE, Baked lookups/conversions. -LLAgentWearables TEWearable stuff removed. Use LLAvatarDefines. -LLWearable WearableType conversions yanked. Use LLWearableType. -LLVOAvatar TEWEarable stuff removed. Use LLAvatarDefines. -EWearableType now LLWearableType::EType -LLWearable::getID() renamed to LLWearable::getAssetID() VOAvatar cleanup. -Removed redundant TEWearable functions. -Some code migrated to F32 LLVOAvatar::calcMorphAmount(). No functional change. -LLVOAvatar::removeMissingBakedTextures virtual. Implementation moved to VOAvatarSelf
This commit is contained in:
@@ -127,7 +127,7 @@ public:
|
||||
//void updateAssetOnServer() const;
|
||||
// [RLVa:KB] - Checked: 2010-09-27 (RLVa-1.1.3a) | Added: RLVa-1.1.3a
|
||||
virtual bool isWearableType() const;
|
||||
virtual EWearableType getWearableType() const;
|
||||
virtual LLWearableType::EType getWearableType() const;
|
||||
// [/RLVa:KB]
|
||||
|
||||
virtual void packMessage(LLMessageSystem* msg) const;
|
||||
@@ -272,13 +272,13 @@ public:
|
||||
extern LLInventoryCallbackManager gInventoryCallbacks;
|
||||
|
||||
|
||||
#define NOT_WEARABLE (EWearableType)0
|
||||
#define NOT_WEARABLE (LLWearableType::EType)0
|
||||
|
||||
void create_inventory_item(const LLUUID& agent_id, const LLUUID& session_id,
|
||||
const LLUUID& parent, const LLTransactionID& transaction_id,
|
||||
const std::string& name,
|
||||
const std::string& desc, LLAssetType::EType asset_type,
|
||||
LLInventoryType::EType inv_type, EWearableType wtype,
|
||||
LLInventoryType::EType inv_type, LLWearableType::EType wtype,
|
||||
U32 next_owner_perm,
|
||||
LLPointer<LLInventoryCallback> cb);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user