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