summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2023-11-29 16:46:10 +0200
committerGitHub <noreply@github.com>2023-11-29 16:46:10 +0200
commitb96ca755b36737eb07645df7b172be002d9509f2 (patch)
tree5e498ee0b71252700ffb13d301c19fc9112e7507
parentf9cba58fe203ac53823ee3b5a7ded444b7106783 (diff)
SL-20647 don't allow dragging 'no mod' material into the picker of an attached object
-rw-r--r--indra/newview/llpanelface.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llpanelface.cpp b/indra/newview/llpanelface.cpp
index bf54d17111..e7b856f743 100644
--- a/indra/newview/llpanelface.cpp
+++ b/indra/newview/llpanelface.cpp
@@ -1981,6 +1981,7 @@ void LLPanelFace::updateUIGLTF(LLViewerObject* objectp, bool& has_pbr_material,
if (objectp->isAttachment())
{
pbr_ctrl->setImmediateFilterPermMask(PERM_COPY | PERM_TRANSFER | PERM_MODIFY);
+ pbr_ctrl->setDnDFilterPermMask(PERM_COPY | PERM_TRANSFER | PERM_MODIFY);
}
else
{