diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-03-28 00:53:35 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-03-28 00:53:35 +0300 |
commit | 110ed8f4d3152c91ddd7577234ad37b666be86c9 (patch) | |
tree | 1d5fac09ca90570b12d8fc3b22eaf55a0d70c655 /indra/newview/llinventorymodel.cpp | |
parent | 0eff9756494a268f6aa68b66ce4d09cb5aa5460a (diff) |
SL-18003 Don't cause excessive full rebuild
Diffstat (limited to 'indra/newview/llinventorymodel.cpp')
-rw-r--r-- | indra/newview/llinventorymodel.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llinventorymodel.cpp b/indra/newview/llinventorymodel.cpp index 4c2383d211..47fd17ef86 100644 --- a/indra/newview/llinventorymodel.cpp +++ b/indra/newview/llinventorymodel.cpp @@ -1759,6 +1759,9 @@ void LLInventoryModel::changeCategoryParent(LLViewerInventoryCategory* cat, void LLInventoryModel::rebuildBrockenLinks() { + // make sure we aren't adding expensive Rebuild to anything else. + notifyObservers(); + for (LLUUID link_id : mPossiblyBrockenLinks) { addChangedMask(LLInventoryObserver::REBUILD, link_id); |