aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfolderview.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:58 -0500
committerJacek Antonelli2008-08-15 23:44:58 -0500
commit089fc07d207c71ce1401e72f09c31ad8c45872e2 (patch)
tree0028955add042c6f45b47a7b774adeeac9c592cb /linden/indra/newview/llfolderview.cpp
parentSecond Life viewer sources 1.16.0.5 (diff)
downloadmeta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.zip
meta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.tar.gz
meta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.tar.bz2
meta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.tar.xz
Second Life viewer sources 1.17.0.12
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llfolderview.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/linden/indra/newview/llfolderview.cpp b/linden/indra/newview/llfolderview.cpp
index ff0ad3f..bd5be8e 100644
--- a/linden/indra/newview/llfolderview.cpp
+++ b/linden/indra/newview/llfolderview.cpp
@@ -1921,7 +1921,7 @@ void LLFolderViewFolder::requestArrange(BOOL include_descendants)
1921{ 1921{
1922 mLastArrangeGeneration = -1; 1922 mLastArrangeGeneration = -1;
1923 // flag all items up to root 1923 // flag all items up to root
1924 if (mParentFolder && !mParentFolder->needsArrange()) 1924 if (mParentFolder)
1925 { 1925 {
1926 mParentFolder->requestArrange(); 1926 mParentFolder->requestArrange();
1927 } 1927 }
@@ -4282,7 +4282,8 @@ void LLFolderView::idle(void* user_data)
4282 { 4282 {
4283 self->scrollToShowItem(self->mSelectedItems.back()); 4283 self->scrollToShowItem(self->mSelectedItems.back());
4284 // continue scrolling until animated layout change is done 4284 // continue scrolling until animated layout change is done
4285 if (!self->needsArrange() || !self->isInVisibleChain()) 4285 if (self->getCompletedFilterGeneration() >= self->mFilter.getMinRequiredGeneration() &&
4286 (!self->needsArrange() || !self->isInVisibleChain()))
4286 { 4287 {
4287 self->mNeedsScroll = FALSE; 4288 self->mNeedsScroll = FALSE;
4288 } 4289 }