Xiaohong Bao 2013-10-15 14:05:05 -06:00
commit 4755ccf269
1 changed files with 8 additions and 2 deletions

View File

@ -1298,10 +1298,16 @@ BOOL LLVOVolume::calcLOD()
mLOD = cur_detail;
return TRUE;
}
else
else if(cur_detail > MIN_LOD)
{
return FALSE;
LLFace* facep = mDrawable->getFace(0);
if(facep && !facep->getVertexBuffer())
{
return TRUE; //force geometry update if visible object does not have vertex buffer.
}
}
return FALSE;
}
BOOL LLVOVolume::updateLOD()