diff options
author | Cosmic Linden <cosmic@lindenlab.com> | 2023-07-24 16:16:52 -0700 |
---|---|---|
committer | Cosmic Linden <cosmic@lindenlab.com> | 2023-08-11 16:30:59 -0700 |
commit | ca6f465088be904fa5b85297396227f905792a3b (patch) | |
tree | 13b470566e2af2529b112e044990b9d8c3cae607 /indra/newview/llpreview.h | |
parent | a4030031f895f8497e106f0547eb29780d6ec4e9 (diff) |
SL-20024: Disable material editor on prim when contained material is no mod
Diffstat (limited to 'indra/newview/llpreview.h')
-rw-r--r-- | indra/newview/llpreview.h | 2 |
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(); |