aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lltooldraganddrop.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:50 -0500
committerJacek Antonelli2008-08-15 23:45:50 -0500
commit2a4dea528f670b9bb1f77ef27a8a1dd16603d114 (patch)
tree95c68e362703c9099d571ecbdc6142b1cda1e005 /linden/indra/newview/lltooldraganddrop.cpp
parentSecond Life viewer sources 1.20.6 (diff)
downloadmeta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.zip
meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.gz
meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.bz2
meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.xz
Second Life viewer sources 1.20.7
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