aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lltooldraganddrop.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:34 -0500
committerJacek Antonelli2008-08-15 23:45:34 -0500
commitcd17687f01420952712a500107e0f93e7ab8d5f8 (patch)
treece48c2b706f2c1176290e39fb555fbdf6648ce01 /linden/indra/newview/lltooldraganddrop.cpp
parentSecond Life viewer sources 1.19.0.5 (diff)
downloadmeta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.zip
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.gz
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.bz2
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.xz
Second Life viewer sources 1.19.1.0
Diffstat (limited to 'linden/indra/newview/lltooldraganddrop.cpp')
-rw-r--r--linden/indra/newview/lltooldraganddrop.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/lltooldraganddrop.cpp b/linden/indra/newview/lltooldraganddrop.cpp
index fb430d7..9524fd8 100644
--- a/linden/indra/newview/lltooldraganddrop.cpp
+++ b/linden/indra/newview/lltooldraganddrop.cpp
@@ -2778,9 +2778,9 @@ EAcceptance LLToolDragAndDrop::dad3dRezFromObjectOnLand(
2778 LLViewerInventoryCategory* cat = NULL; 2778 LLViewerInventoryCategory* cat = NULL;
2779 locateInventory(item, cat); 2779 locateInventory(item, cat);
2780 if(!item || !item->isComplete()) return ACCEPT_NO; 2780 if(!item || !item->isComplete()) return ACCEPT_NO;
2781 if(!item->getPermissions().allowCopyBy(gAgent.getID(), 2781
2782 gAgent.getGroupID()) 2782 if(!gAgent.allowOperation(PERM_COPY, item->getPermissions())
2783 || !item->getPermissions().allowTransferTo(LLUUID::null)) 2783 || !item->getPermissions().allowTransferTo(LLUUID::null))
2784 { 2784 {
2785 return ACCEPT_NO_LOCKED; 2785 return ACCEPT_NO_LOCKED;
2786 } 2786 }