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.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 }