diff options
| author | Xiaohong Bao <bao@lindenlab.com> | 2013-10-15 14:03:59 -0600 | 
|---|---|---|
| committer | Xiaohong Bao <bao@lindenlab.com> | 2013-10-15 14:03:59 -0600 | 
| commit | 6a06619777d1e19bae9618c0015ef954203e2fc2 (patch) | |
| tree | bdf04d38eafc4c447d21ac4da55125c69d8113e3 /indra | |
| parent | c8067cfd9708fe30659b1f07f6d035508bea3033 (diff) | |
fix for SH-4551: Interesting: some attachments do not appear after teleport
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() | 
