diff options
Diffstat (limited to 'indra')
-rwxr-xr-x | indra/newview/llvovolume.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp index 6b5d06376f..f2d44f65f0 100755 --- a/indra/newview/llvovolume.cpp +++ b/indra/newview/llvovolume.cpp @@ -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() |