From 89fd7ad3c5b9ba2f0d082869d4b524f99ac4a0c0 Mon Sep 17 00:00:00 2001 From: Andrey Kleshchev <andreykproductengine@lindenlab.com> Date: Fri, 10 Feb 2023 16:53:22 +0200 Subject: 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 --- indra/newview/lltooldraganddrop.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'indra') 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) { -- cgit v1.2.3