summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2024-09-12 18:23:47 +0300
committerGitHub <noreply@github.com>2024-09-12 18:23:47 +0300
commit1f6423214c9f8db374970c1b876a16e098697e64 (patch)
tree1433e41a89e7394c089c87d7fa027cf4dfd55b94 /indra
parent33c8fd2acc1ed1c13429c963d431adc8f4d8100e (diff)
Don't allow LLAttachmentsMgr to iterate COF items when there is no questionable links there
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llattachmentsmgr.cpp2
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;
}