diff options
Diffstat (limited to 'linden/indra/newview')
-rw-r--r-- | linden/indra/newview/llinventorybridge.cpp | 1 | ||||
-rw-r--r-- | linden/indra/newview/llinventorybridge.h | 11 | ||||
-rw-r--r-- | linden/indra/newview/llpanelinventory.cpp | 1 |
3 files changed, 12 insertions, 1 deletions
diff --git a/linden/indra/newview/llinventorybridge.cpp b/linden/indra/newview/llinventorybridge.cpp index 12670e2..bde36cc 100644 --- a/linden/indra/newview/llinventorybridge.cpp +++ b/linden/indra/newview/llinventorybridge.cpp | |||
@@ -722,6 +722,7 @@ LLInvFVBridge* LLInvFVBridge::createBridge(LLAssetType::EType asset_type, | |||
722 | if (new_listener) | 722 | if (new_listener) |
723 | { | 723 | { |
724 | new_listener->mInvType = inv_type; | 724 | new_listener->mInvType = inv_type; |
725 | new_listener->mNInvType = calc_ntype(inv_type, asset_type, flags); | ||
725 | } | 726 | } |
726 | 727 | ||
727 | return new_listener; | 728 | return new_listener; |
diff --git a/linden/indra/newview/llinventorybridge.h b/linden/indra/newview/llinventorybridge.h index fc04b28..329e57f 100644 --- a/linden/indra/newview/llinventorybridge.h +++ b/linden/indra/newview/llinventorybridge.h | |||
@@ -192,7 +192,15 @@ public: | |||
192 | virtual BOOL dragOrDrop(MASK mask, BOOL drop, | 192 | virtual BOOL dragOrDrop(MASK mask, BOOL drop, |
193 | EDragAndDropType cargo_type, | 193 | EDragAndDropType cargo_type, |
194 | void* cargo_data) { return FALSE; } | 194 | void* cargo_data) { return FALSE; } |
195 | virtual LLInventoryType::EType getInventoryType() const { return mInvType; } | 195 | |
196 | virtual LLInventoryType::EType getInventoryType() const | ||
197 | { | ||
198 | return mInvType; | ||
199 | } | ||
200 | virtual LLInventoryType::NType getNInventoryType() const | ||
201 | { | ||
202 | return mNInvType; | ||
203 | } | ||
196 | 204 | ||
197 | // LLInvFVBridge functionality | 205 | // LLInvFVBridge functionality |
198 | virtual void clearDisplayName() {} | 206 | virtual void clearDisplayName() {} |
@@ -221,6 +229,7 @@ protected: | |||
221 | LLInventoryPanel* mInventoryPanel; | 229 | LLInventoryPanel* mInventoryPanel; |
222 | LLUUID mUUID; // item id | 230 | LLUUID mUUID; // item id |
223 | LLInventoryType::EType mInvType; | 231 | LLInventoryType::EType mInvType; |
232 | LLInventoryType::NType mNInvType; | ||
224 | }; | 233 | }; |
225 | 234 | ||
226 | 235 | ||
diff --git a/linden/indra/newview/llpanelinventory.cpp b/linden/indra/newview/llpanelinventory.cpp index 3c0e6d7..e41ecdc 100644 --- a/linden/indra/newview/llpanelinventory.cpp +++ b/linden/indra/newview/llpanelinventory.cpp | |||
@@ -146,6 +146,7 @@ public: | |||
146 | virtual BOOL isUpToDate() const { return TRUE; } | 146 | virtual BOOL isUpToDate() const { return TRUE; } |
147 | virtual BOOL hasChildren() const { return FALSE; } | 147 | virtual BOOL hasChildren() const { return FALSE; } |
148 | virtual LLInventoryType::EType getInventoryType() const { return LLInventoryType::IT_NONE; } | 148 | virtual LLInventoryType::EType getInventoryType() const { return LLInventoryType::IT_NONE; } |
149 | virtual LLInventoryType::NType getNInventoryType() const { return LLInventoryType::NIT_NONE; } | ||
149 | // LLDragAndDropBridge functionality | 150 | // LLDragAndDropBridge functionality |
150 | virtual BOOL startDrag(EDragAndDropType* type, LLUUID* id) const; | 151 | virtual BOOL startDrag(EDragAndDropType* type, LLUUID* id) const; |
151 | virtual BOOL dragOrDrop(MASK mask, BOOL drop, | 152 | virtual BOOL dragOrDrop(MASK mask, BOOL drop, |