diff options
| author | Merov Linden <merov@lindenlab.com> | 2015-06-09 15:41:11 -0700 |
|---|---|---|
| committer | Merov Linden <merov@lindenlab.com> | 2015-06-09 15:41:11 -0700 |
| commit | 2cc3ce72b3f7abf037e554b04850e627a9d8eb5f (patch) | |
| tree | a5247d04bb2f951c61d2db535d28835c8d5a77d2 /indra/newview/llinventorybridge.h | |
| parent | 4f9bf22d5fc473aa15dc7f298a93b89ddc30f415 (diff) | |
DD-359 : Improve performance by caching display data while updating and preventing refreshing the whole marketplace (never useful)
Diffstat (limited to 'indra/newview/llinventorybridge.h')
| -rwxr-xr-x | indra/newview/llinventorybridge.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/newview/llinventorybridge.h b/indra/newview/llinventorybridge.h index 6d027ae115..26f8dd37b4 100755 --- a/indra/newview/llinventorybridge.h +++ b/indra/newview/llinventorybridge.h @@ -697,8 +697,7 @@ public: // Overloads some display related methods specific to folders in a marketplace floater context LLMarketplaceFolderBridge(LLInventoryPanel* inventory, LLFolderView* root, - const LLUUID& uuid) : - LLFolderBridge(inventory, root, uuid) { } + const LLUUID& uuid); virtual LLUIImagePtr getIcon() const; virtual LLUIImagePtr getIconOpen() const; @@ -707,6 +706,9 @@ public: private: LLUIImagePtr getMarketplaceFolderIcon(BOOL is_open) const; + // Those members are mutable because they are cached variablse to speed up display, not a state variables + mutable S32 m_depth; + mutable S32 m_stockCountCache; }; |
