summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2013-10-23 15:45:48 -0600
committerXiaohong Bao <bao@lindenlab.com>2013-10-23 15:45:48 -0600
commit066182bf064d74c84313220dba3a10a3c318d634 (patch)
tree4675aa11eb0a977886016e9e2c62a1f8a621666c
parentab43be5ddb50198304de1ae0e82b641c7d343449 (diff)
parent806cd01a0da1c67aaccd0bdcb40c104d48ed9d25 (diff)
Automated merge with http://bitbucket.org/lindenlab/viewer-interesting
-rwxr-xr-xindra/newview/llspatialpartition.cpp2
-rwxr-xr-xindra/newview/llvovolume.cpp8
-rwxr-xr-xindra/newview/pipeline.cpp1
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();
}