diff options
author | Merov Linden <merov@lindenlab.com> | 2014-07-24 17:42:44 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2014-07-24 17:42:44 -0700 |
commit | 83603fc939e60c602773cc87e0b6fa316359d467 (patch) | |
tree | 2471e8622548365b55ddd54367f1384a6c376d32 /indra/newview/llinventorybridge.h | |
parent | 87a7eee21d986e2a1c8b5fd467b5da06112690b5 (diff) |
DD-128 : Fixed! Recycled allow_open into allow_wear and use an extra virtual methods on bridge items to know if items are wearable or not.
Diffstat (limited to 'indra/newview/llinventorybridge.h')
-rwxr-xr-x | indra/newview/llinventorybridge.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llinventorybridge.h b/indra/newview/llinventorybridge.h index 58fde0b63b..029a5395ca 100755 --- a/indra/newview/llinventorybridge.h +++ b/indra/newview/llinventorybridge.h @@ -488,6 +488,7 @@ public: virtual LLUIImagePtr getIcon() const; virtual void performAction(LLInventoryModel* model, std::string action); virtual void openItem(); + virtual BOOL isItemWearable() const { return TRUE; } virtual std::string getLabelSuffix() const; virtual void buildContextMenu(LLMenuGL& menu, U32 flags); virtual BOOL renameItem(const std::string& new_name); @@ -520,6 +521,7 @@ public: virtual LLUIImagePtr getIcon() const; virtual void performAction(LLInventoryModel* model, std::string action); virtual void openItem(); + virtual BOOL isItemWearable() const { return TRUE; } virtual void buildContextMenu(LLMenuGL& menu, U32 flags); virtual std::string getLabelSuffix() const; virtual BOOL renameItem(const std::string& new_name); |