More SV-1908

This commit is contained in:
Lirusaito
2018-07-23 06:12:34 -04:00
parent c962922e75
commit 899d1955c0

View File

@@ -2450,11 +2450,13 @@ EAcceptance LLToolDragAndDrop::dad3dGiveInventoryObject(
return ACCEPT_NO;
}
LLVOAvatarSelf* avatar = gAgentAvatarp;
/* <edit>
if(avatar && avatar->isWearingAttachment( item->getUUID() ) )
{
// You can't give objects that are attached to you
return ACCEPT_NO;
}
</edit> */
if( obj && avatar )
{
if(drop)