summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xindra/newview/llvovolume.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp
index 818232a5c6..ae18410ed1 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()