Fix mixed iterators

Thanks Aru
This commit is contained in:
Lirusaito
2019-03-06 16:10:31 -05:00
parent 22609412e4
commit cd02bbd1cb
2 changed files with 2 additions and 2 deletions

View File

@@ -7677,7 +7677,7 @@ LLViewerObject* LLVOAvatar::getWornAttachment( const LLUUID& inv_item_id )
LLViewerObject * LLVOAvatar::findAttachmentByID( const LLUUID & target_id ) const
{
for(attachment_map_t::const_iterator attachment_points_iter = mAttachmentPoints.begin();
attachment_points_iter != gAgentAvatarp->mAttachmentPoints.end();
attachment_points_iter != mAttachmentPoints.end();
++attachment_points_iter)
{
LLViewerJointAttachment* attachment = attachment_points_iter->second;