diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2013-10-23 15:45:48 -0600 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2013-10-23 15:45:48 -0600 |
commit | 066182bf064d74c84313220dba3a10a3c318d634 (patch) | |
tree | 4675aa11eb0a977886016e9e2c62a1f8a621666c /indra | |
parent | ab43be5ddb50198304de1ae0e82b641c7d343449 (diff) | |
parent | 806cd01a0da1c67aaccd0bdcb40c104d48ed9d25 (diff) |
Automated merge with http://bitbucket.org/lindenlab/viewer-interesting
Diffstat (limited to 'indra')
-rwxr-xr-x | indra/newview/llspatialpartition.cpp | 2 | ||||
-rwxr-xr-x | indra/newview/llvovolume.cpp | 8 | ||||
-rwxr-xr-x | indra/newview/pipeline.cpp | 1 |
3 files changed, 1 insertions, 10 deletions
diff --git a/indra/newview/llspatialpartition.cpp b/indra/newview/llspatialpartition.cpp index 449a192332..55c0acd3f9 100755 --- a/indra/newview/llspatialpartition.cpp +++ b/indra/newview/llspatialpartition.cpp @@ -903,7 +903,7 @@ void LLSpatialGroup::destroyGL(bool keep_occlusion) { setState(LLSpatialGroup::GEOM_DIRTY | LLSpatialGroup::IMAGE_DIRTY); - if (!keep_occlusion && !LLSpatialPartition::sTeleportRequested) + if (!keep_occlusion) { //going to need a rebuild gPipeline.markRebuild(this, TRUE); } diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp index 52c4c24686..2828f1ba6a 100755 --- a/indra/newview/llvovolume.cpp +++ b/indra/newview/llvovolume.cpp @@ -1298,14 +1298,6 @@ BOOL LLVOVolume::calcLOD() mLOD = cur_detail; return TRUE; } - else if(cur_detail > MIN_LOD) - { - LLFace* facep = mDrawable->getFace(0); - if(facep && !facep->getVertexBuffer()) - { - return TRUE; //force geometry update if visible object does not have vertex buffer. - } - } return FALSE; } diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index efc3663ff3..2cf59d212b 100755 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -7415,7 +7415,6 @@ void LLPipeline::doResetVertexBuffers() LLSpatialPartition::sTeleportRequested = FALSE; LLWorld::getInstance()->clearAllVisibleObjects(); - clearRebuildGroups(); clearRebuildDrawables(); } |