Fix venusmari's issue of not being able to drag and drop calling cards to people via profile or IM
This commit is contained in:
@@ -1618,6 +1618,7 @@ bool LLToolDragAndDrop::handleGiveDragAndDrop(LLUUID dest_agent, LLUUID session_
|
|||||||
case DAD_BODYPART:
|
case DAD_BODYPART:
|
||||||
case DAD_ANIMATION:
|
case DAD_ANIMATION:
|
||||||
case DAD_GESTURE:
|
case DAD_GESTURE:
|
||||||
|
case DAD_CALLINGCARD:
|
||||||
{
|
{
|
||||||
LLViewerInventoryItem* inv_item = (LLViewerInventoryItem*)cargo_data;
|
LLViewerInventoryItem* inv_item = (LLViewerInventoryItem*)cargo_data;
|
||||||
if(gInventory.getItem(inv_item->getUUID())
|
if(gInventory.getItem(inv_item->getUUID())
|
||||||
@@ -1662,7 +1663,6 @@ bool LLToolDragAndDrop::handleGiveDragAndDrop(LLUUID dest_agent, LLUUID session_
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case DAD_CALLINGCARD:
|
|
||||||
default:
|
default:
|
||||||
*accept = ACCEPT_NO;
|
*accept = ACCEPT_NO;
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user