From 1f6423214c9f8db374970c1b876a16e098697e64 Mon Sep 17 00:00:00 2001 From: Maxim Nikolenko Date: Thu, 12 Sep 2024 18:23:47 +0300 Subject: Don't allow LLAttachmentsMgr to iterate COF items when there is no questionable links there --- indra/newview/llattachmentsmgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview') 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; } -- cgit v1.2.3