summaryrefslogtreecommitdiff
path: root/indra/newview/lltexturectrl.cpp
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2023-11-30 17:47:46 +0200
committerGitHub <noreply@github.com>2023-11-30 17:47:46 +0200
commit88aefc95eace0bb8ea21cb44514d41d98bdf74cc (patch)
tree7e4ef5796a8e1da692d32eadf80f0cc9f64d561f /indra/newview/lltexturectrl.cpp
parent9d4d7477c79d3cf912fd1d0628049ec0a5776567 (diff)
SL-20655 FIXED Texture permissions not enforced in Material floaters
Diffstat (limited to 'indra/newview/lltexturectrl.cpp')
-rw-r--r--indra/newview/lltexturectrl.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/lltexturectrl.cpp b/indra/newview/lltexturectrl.cpp
index f302426a43..28e01c6c21 100644
--- a/indra/newview/lltexturectrl.cpp
+++ b/indra/newview/lltexturectrl.cpp
@@ -1715,6 +1715,12 @@ void LLTextureCtrl::setImmediateFilterPermMask(PermissionMask mask)
}
}
+void LLTextureCtrl::setFilterPermissionMasks(PermissionMask mask)
+{
+ setImmediateFilterPermMask(mask);
+ setDnDFilterPermMask(mask);
+}
+
void LLTextureCtrl::setVisible( BOOL visible )
{
if( !visible )