summaryrefslogtreecommitdiff
path: root/indra/newview/llpreview.h
diff options
context:
space:
mode:
authorcosmic-linden <111533034+cosmic-linden@users.noreply.github.com>2023-08-14 09:29:58 -0700
committerGitHub <noreply@github.com>2023-08-14 09:29:58 -0700
commit50e2973cd2360dedd6baf1c0772d9d009e2628d4 (patch)
tree71a86030d3d52045642ea1a21168a2effc98e4f6 /indra/newview/llpreview.h
parentd8e4572b901b429439f991703f2bc12f81e03901 (diff)
parent076a02e2d8ddb10856602c3f5f3115ace41327b5 (diff)
Merge pull request #323 from secondlife/SL-20024
SL-20024: Improve material permissions handling
Diffstat (limited to 'indra/newview/llpreview.h')
-rw-r--r--indra/newview/llpreview.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llpreview.h b/indra/newview/llpreview.h
index ab60f4c008..3688ee0192 100644
--- a/indra/newview/llpreview.h
+++ b/indra/newview/llpreview.h
@@ -36,6 +36,7 @@
#include <map>
class LLInventoryItem;
+class LLViewerObject;
class LLLineEditor;
class LLRadioGroup;
class LLPreview;
@@ -109,6 +110,7 @@ public:
// We can't modify Item or description in preview if either in-world Object
// or Item itself is unmodifiable
static BOOL canModify(const LLUUID taskUUID, const LLInventoryItem* item);
+ static BOOL canModify(const LLViewerObject* object, const LLInventoryItem* item);
protected:
virtual void onCommit();