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.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/linden/indra/newview/lltooldraganddrop.cpp b/linden/indra/newview/lltooldraganddrop.cpp
index 67a2153..c492c7b 100644
--- a/linden/indra/newview/lltooldraganddrop.cpp
+++ b/linden/indra/newview/lltooldraganddrop.cpp
@@ -47,6 +47,7 @@
47#include "llhudmanager.h" 47#include "llhudmanager.h"
48#include "llinventorymodel.h" 48#include "llinventorymodel.h"
49#include "llinventoryview.h" 49#include "llinventoryview.h"
50#include "llmutelist.h"
50#include "llnotify.h" 51#include "llnotify.h"
51#include "llpreviewnotecard.h" 52#include "llpreviewnotecard.h"
52#include "llselectmgr.h" 53#include "llselectmgr.h"
@@ -1693,6 +1694,8 @@ void LLToolDragAndDrop::commitGiveInventoryItem(const LLUUID& to_agent,
1693 effectp->setDuration(LL_HUD_DUR_SHORT); 1694 effectp->setDuration(LL_HUD_DUR_SHORT);
1694 effectp->setColor(LLColor4U(gAgent.getEffectColor())); 1695 effectp->setColor(LLColor4U(gAgent.getEffectColor()));
1695 gFloaterTools->dirty(); 1696 gFloaterTools->dirty();
1697
1698 LLMuteList::getInstance()->autoRemove(to_agent, LLMuteList::AR_INVENTORY);
1696} 1699}
1697 1700
1698void LLToolDragAndDrop::giveInventoryCategory(const LLUUID& to_agent, 1701void LLToolDragAndDrop::giveInventoryCategory(const LLUUID& to_agent,
@@ -1895,6 +1898,8 @@ void LLToolDragAndDrop::commitGiveInventoryCategory(const LLUUID& to_agent,
1895 effectp->setDuration(LL_HUD_DUR_SHORT); 1898 effectp->setDuration(LL_HUD_DUR_SHORT);
1896 effectp->setColor(LLColor4U(gAgent.getEffectColor())); 1899 effectp->setColor(LLColor4U(gAgent.getEffectColor()));
1897 gFloaterTools->dirty(); 1900 gFloaterTools->dirty();
1901
1902 LLMuteList::getInstance()->autoRemove(to_agent, LLMuteList::AR_INVENTORY);
1898 } 1903 }
1899} 1904}
1900 1905