INFRASTRUCTURE: Took out unused function "getAllAttachmentsArray" from llvoavatarself.
--HG-- branch : avatar-pipelinemaster
parent
e9fcaa09e0
commit
bfdfec637c
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue