diff options
Diffstat (limited to 'indra/newview/llagentwearables.cpp')
| -rw-r--r-- | indra/newview/llagentwearables.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/indra/newview/llagentwearables.cpp b/indra/newview/llagentwearables.cpp index 15e4de8f69..013c40f557 100644 --- a/indra/newview/llagentwearables.cpp +++ b/indra/newview/llagentwearables.cpp @@ -1323,7 +1323,7 @@ void LLAgentWearables::findAttachmentsAddRemoveInfo(LLInventoryModel::item_array  			 attachment_iter != attachment->mAttachedObjects.end();  			 ++attachment_iter)  		{ -			LLViewerObject *objectp = (*attachment_iter); +			LLViewerObject *objectp = attachment_iter->get();  			if (objectp)  			{  				LLUUID object_item_id = objectp->getAttachmentItemID(); @@ -1387,7 +1387,7 @@ std::vector<LLViewerObject*> LLAgentWearables::getTempAttachments()  				attachment_iter != attachment->mAttachedObjects.end();  				++attachment_iter)  			{ -				LLViewerObject *objectp = (*attachment_iter); +				LLViewerObject *objectp = attachment_iter->get();  				if (objectp && objectp->isTempAttachment())  				{  					temp_attachs.push_back(objectp); | 
