summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-03-24 00:08:46 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-03-24 00:09:04 +0200
commit6826ed7167e15f05e721e6aa9ade3c655991ccee (patch)
treed6fff547630bc9e07dd3f5fc49cb5a70a53be2a5 /indra
parentcc98d967796e552432a59c2ad81742ad55bff983 (diff)
SL-19445 Increment inventory cache version for Inventory thumbnails
Inventory thumbnails appear as lost when moving between non thumbnail and thumbnail viewers. Release viewer doesn't know to cache thumbnails, thumbnail viewer loads release's cache and finds no thumbnails, but version control appears to be valid so viewer thinks there is nothing to download.
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llinventorymodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llinventorymodel.cpp b/indra/newview/llinventorymodel.cpp
index 6d9142cc5c..56f0a68f70 100644
--- a/indra/newview/llinventorymodel.cpp
+++ b/indra/newview/llinventorymodel.cpp
@@ -76,7 +76,7 @@
// Increment this if the inventory contents change in a non-backwards-compatible way.
// For viewer 2, the addition of link items makes a pre-viewer-2 cache incorrect.
-const S32 LLInventoryModel::sCurrentInvCacheVersion = 2;
+const S32 LLInventoryModel::sCurrentInvCacheVersion = 3;
BOOL LLInventoryModel::sFirstTimeInViewer2 = TRUE;
///----------------------------------------------------------------------------