diff options
| author | ruslantproductengine <ruslantproductengine@lindenlab.com> | 2016-02-03 17:15:59 +0200 | 
|---|---|---|
| committer | ruslantproductengine <ruslantproductengine@lindenlab.com> | 2016-02-03 17:15:59 +0200 | 
| commit | 510ca136794008f73895c72c07d4f93e345ced26 (patch) | |
| tree | 799a77e939cf2a3c458e70b0e4c30219196f3736 | |
| parent | c98bed2319f642051d13215af65e719910dc9bb3 (diff) | |
MAINT-5682 ([QuickGraphics] Some avatars are invisible)
Fixed two cases:
- When changing in graphics settings lead to imposers resting and not restoring
- When avatar become always invisible as descrivbed in ticket
| -rwxr-xr-x | indra/newview/llvoavatar.cpp | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index d57ba02dcc..8f94e608b1 100755 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -1101,6 +1101,7 @@ void LLVOAvatar::resetImpostors()  	{  		LLVOAvatar* avatar = (LLVOAvatar*) *iter;  		avatar->mImpostor.release(); +		avatar->mNeedsImpostorUpdate = TRUE;  	}  } @@ -8073,7 +8074,7 @@ void LLVOAvatar::updateFreezeCounter(S32 counter)  BOOL LLVOAvatar::updateLOD()  { -	if (isImpostor()) +	if (isImpostor() && 0 != mDrawable->getNumFaces() && mDrawable->getFace(0)->hasGeometry())  	{  		return TRUE;  	} | 
