diff --git a/indra/newview/llmeshrepository.cpp b/indra/newview/llmeshrepository.cpp index e186b1c02..160d2aaa6 100644 --- a/indra/newview/llmeshrepository.cpp +++ b/indra/newview/llmeshrepository.cpp @@ -2557,6 +2557,8 @@ void LLMeshRepository::notifyLoadedMeshes() S32 push_count = LLMeshRepoThread::sMaxConcurrentRequests-(LLMeshRepoThread::sActiveHeaderRequests+LLMeshRepoThread::sActiveLODRequests); + push_count = llmin(push_count, (S32)mPendingRequests.size()); + if (push_count > 0) { //calculate "score" for pending requests