diff options
author | Loren Shih <seraph@lindenlab.com> | 2009-08-13 16:05:07 +0000 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2009-08-13 16:05:07 +0000 |
commit | ed351ca9138ea39b78e871716f12483f53795932 (patch) | |
tree | 3b673855b968f391abd15b3c4f8428104f1a2307 /indra/newview/llviewerinventory.h | |
parent | 953aec0613081686f7a56af0e9255f4ce15cf9cc (diff) |
For DEV-37955 : Broken links possible if linked item is cached but baseobj not cached
Major fix to guarantee no broken links. If a link comes through from the cache but its baseobj doesn't also exist in the cache, then don't add the link to memory yet, and uncache the folder.
Reviewed by: Nyx, Vir.
Diffstat (limited to 'indra/newview/llviewerinventory.h')
-rw-r--r-- | indra/newview/llviewerinventory.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llviewerinventory.h b/indra/newview/llviewerinventory.h index 10309d023b..8920fb053b 100644 --- a/indra/newview/llviewerinventory.h +++ b/indra/newview/llviewerinventory.h @@ -141,6 +141,7 @@ public: }; LLTransactionID getTransactionID() const { return mTransactionID; } + bool getIsBrokenLink() const; // true if the baseitem this points to doesn't exist in memory. const LLViewerInventoryItem *getLinkedItem() const; const LLViewerInventoryCategory *getLinkedCategory() const; |