INFRASTRUCTURE: Took out unused function "getAllAttachmentsArray" from llvoavatarself.

--HG--
branch : avatar-pipeline
master
Loren Shih 2009-12-08 17:18:43 -05:00
parent e9fcaa09e0
commit bfdfec637c
2 changed files with 0 additions and 14 deletions

View File

@ -1067,19 +1067,6 @@ BOOL LLVOAvatarSelf::detachObject(LLViewerObject *viewer_object)
return FALSE;
}
void LLVOAvatarSelf::getAllAttachmentsArray(LLDynamicArray<S32>& attachments)
{
for (LLVOAvatar::attachment_map_t::const_iterator iter = mAttachmentPoints.begin();
iter != mAttachmentPoints.end(); ++iter)
{
LLViewerJointAttachment* attachment = iter->second;
if ( attachment && (attachment->getNumObjects() > 0))
{
attachments.push_back(iter->first);
}
}
}
U32 LLVOAvatarSelf::getNumWearables(LLVOAvatarDefines::ETextureIndex i) const
{
EWearableType type = LLVOAvatarDictionary::getInstance()->getTEWearableType(i);

View File

@ -284,7 +284,6 @@ public:
const std::string getAttachedPointName(const LLUUID& inv_item_id) const;
/*virtual*/ const LLViewerJointAttachment *attachObject(LLViewerObject *viewer_object);
/*virtual*/ BOOL detachObject(LLViewerObject *viewer_object);
void getAllAttachmentsArray(LLDynamicArray<S32>& attachments);
//--------------------------------------------------------------------
// HUDs