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:
Lirusaito
2013-07-21 12:48:57 -04:00
parent f98f1e9f5d
commit c3b4ceff97

View File

@@ -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;