fix for SH-4551: Interesting: some attachments do not appear after teleport
parent
4264060662
commit
806cd01a0d
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7415,7 +7415,6 @@ void LLPipeline::doResetVertexBuffers()
|
|||
LLSpatialPartition::sTeleportRequested = FALSE;
|
||||
|
||||
LLWorld::getInstance()->clearAllVisibleObjects();
|
||||
clearRebuildGroups();
|
||||
clearRebuildDrawables();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue