From 1e36a206486b4b645e5ef2c7609e48a5a9d19f76 Mon Sep 17 00:00:00 2001 From: Ansariel Date: Sat, 31 Aug 2024 00:33:28 +0200 Subject: [PATCH] FIRE-34403: More OpenSim inventory fixes --- indra/newview/llinventorymodelbackgroundfetch.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/indra/newview/llinventorymodelbackgroundfetch.cpp b/indra/newview/llinventorymodelbackgroundfetch.cpp index 0042e1c54e..a8d7143f93 100644 --- a/indra/newview/llinventorymodelbackgroundfetch.cpp +++ b/indra/newview/llinventorymodelbackgroundfetch.cpp @@ -1297,7 +1297,11 @@ void LLInventoryModelBackgroundFetch::bulkFetch() folder_count++; } } +#ifdef OPENSIM + if (LLViewerInventoryCategory::VERSION_UNKNOWN != cat->getVersion() || !LLGridManager::getInstance()->isInSecondLife()) +#else else +#endif { // May already have this folder, but append child folders to list. if (fetch_info.mFetchType >= FT_CONTENT_RECURSIVE)