summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-02-10 16:53:22 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-02-10 16:53:43 +0200
commit89fd7ad3c5b9ba2f0d082869d4b524f99ac4a0c0 (patch)
tree1e36352e5631e9d0059e0646edeb72894fcff40d /indra/newview
parent58e24f06cd14cca7cdb7c9e2fe05b4c746cad264 (diff)
SL-19200 No-copy materials cannot be moved on objects using drag and drop
We allow droping no-copy textures and materials into object's inventory, and we allow asigning them from picker, there should be no reason why drag &drop should be different
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/lltooldraganddrop.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/indra/newview/lltooldraganddrop.cpp b/indra/newview/lltooldraganddrop.cpp
index 53bc77daa9..1b19ba33a3 100644
--- a/indra/newview/lltooldraganddrop.cpp
+++ b/indra/newview/lltooldraganddrop.cpp
@@ -2045,11 +2045,6 @@ EAcceptance LLToolDragAndDrop::dad3dApplyToObject(
{
return ACCEPT_NO_LOCKED;
}
- //If texture !copyable don't texture or you'll never get it back.
- if(!item->getPermissions().allowCopyBy(gAgent.getID()))
- {
- return ACCEPT_NO;
- }
if (cargo_type == DAD_TEXTURE)
{