From 6a06619777d1e19bae9618c0015ef954203e2fc2 Mon Sep 17 00:00:00 2001 From: Xiaohong Bao Date: Tue, 15 Oct 2013 14:03:59 -0600 Subject: fix for SH-4551: Interesting: some attachments do not appear after teleport --- indra/newview/llvovolume.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'indra/newview/llvovolume.cpp') 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() -- cgit v1.2.3