diff options
| author | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2024-09-12 18:23:47 +0300 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-12 18:23:47 +0300 | 
| commit | 1f6423214c9f8db374970c1b876a16e098697e64 (patch) | |
| tree | 1433e41a89e7394c089c87d7fa027cf4dfd55b94 | |
| parent | 33c8fd2acc1ed1c13429c963d431adc8f4d8100e (diff) | |
Don't allow LLAttachmentsMgr to iterate COF items when there is no questionable links there
| -rw-r--r-- | indra/newview/llattachmentsmgr.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/indra/newview/llattachmentsmgr.cpp b/indra/newview/llattachmentsmgr.cpp index deabcd9f42..8b5db2c0fa 100644 --- a/indra/newview/llattachmentsmgr.cpp +++ b/indra/newview/llattachmentsmgr.cpp @@ -465,7 +465,7 @@ bool LLAttachmentsMgr::isAttachmentStateComplete() const  //  void LLAttachmentsMgr::checkInvalidCOFLinks()  { -    if (!gInventory.isInventoryUsable()) +    if (!gInventory.isInventoryUsable() || mQuestionableCOFLinks.empty())      {          return;      } | 
