diff options
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); |