aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lltooldraganddrop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/lltooldraganddrop.cpp')
-rw-r--r--linden/indra/newview/lltooldraganddrop.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/linden/indra/newview/lltooldraganddrop.cpp b/linden/indra/newview/lltooldraganddrop.cpp
index 18c4917..2adcf14 100644
--- a/linden/indra/newview/lltooldraganddrop.cpp
+++ b/linden/indra/newview/lltooldraganddrop.cpp
@@ -1521,18 +1521,6 @@ void LLToolDragAndDrop::dropInventory(LLViewerObject* hit_obj,
1521 gFloaterTools->dirty(); 1521 gFloaterTools->dirty();
1522} 1522}
1523 1523
1524struct LLGiveInventoryInfo
1525{
1526 LLUUID mToAgentID;
1527 LLUUID mInventoryObjectID;
1528 LLUUID mIMSessionID;
1529 LLGiveInventoryInfo(const LLUUID& to_agent, const LLUUID& obj_id, const LLUUID &im_session_id = LLUUID::null) :
1530 mToAgentID(to_agent),
1531 mInventoryObjectID(obj_id),
1532 mIMSessionID(im_session_id)
1533 {}
1534};
1535
1536void LLToolDragAndDrop::giveInventory(const LLUUID& to_agent, 1524void LLToolDragAndDrop::giveInventory(const LLUUID& to_agent,
1537 LLInventoryItem* item, 1525 LLInventoryItem* item,
1538 const LLUUID& im_session_id) 1526 const LLUUID& im_session_id)
@@ -1701,8 +1689,6 @@ void LLToolDragAndDrop::giveInventoryCategory(const LLUUID& to_agent,
1701 } 1689 }
1702 else 1690 else
1703 { 1691 {
1704 LLGiveInventoryInfo* info = NULL;
1705 info = new LLGiveInventoryInfo(to_agent, cat->getUUID(), im_session_id);
1706 LLSD args; 1692 LLSD args;
1707 args["COUNT"] = llformat("%d",giveable.countNoCopy()); 1693 args["COUNT"] = llformat("%d",giveable.countNoCopy());
1708 LLSD payload; 1694 LLSD payload;