diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-06-19 20:44:54 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-06-19 20:45:02 +0300 |
commit | 6d4862dad1a3c073859bfebfef58b85fce27b8be (patch) | |
tree | 6cb322cd3e2f1505484840a293791ab99d82c58f /indra/newview | |
parent | 30209314ac02cf5ac868b5207b684b9fadb706bb (diff) |
SL-19888 Fix flat list loading partially
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llinventorypanel.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp index a53f2f85cb..4bf447cb95 100644 --- a/indra/newview/llinventorypanel.cpp +++ b/indra/newview/llinventorypanel.cpp @@ -1224,6 +1224,7 @@ LLFolderViewItem* LLInventoryPanel::buildViewsTree(const LLUUID& id, const S32 starting_item_count = mItemMap.size(); LLFolderViewFolder *parentp = dynamic_cast<LLFolderViewFolder*>(folder_view_item); + bool done = true; if(categories) { @@ -1261,6 +1262,7 @@ LLFolderViewItem* LLInventoryPanel::buildViewsTree(const LLUUID& id, if (mBuildViewsEndTime < curent_time) { mBuildViewsQueue.push_back(id); + done = false; break; } } @@ -1296,13 +1298,14 @@ LLFolderViewItem* LLInventoryPanel::buildViewsTree(const LLUUID& id, if (mBuildViewsEndTime < curent_time) { mBuildViewsQueue.push_back(id); + done = false; break; } } } } - if (!mBuildChildrenViews) + if (!mBuildChildrenViews && done) { // flat list is done initializing folder folder_view_item->setChildrenInited(true); |