summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2013-10-23 15:45:15 -0600
committerXiaohong Bao <bao@lindenlab.com>2013-10-23 15:45:15 -0600
commit806cd01a0da1c67aaccd0bdcb40c104d48ed9d25 (patch)
treec10623482dfd10628248e165bb35d5b95f6e5bdf /indra
parent4264060662c1a598856622a749ea4a3216c5975c (diff)
fix for SH-4551: Interesting: some attachments do not appear after teleport
Diffstat (limited to 'indra')
-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();
}