diff options
| author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2013-02-01 16:14:37 -0500 | 
|---|---|---|
| committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2013-02-01 16:14:37 -0500 | 
| commit | 44308c110f0ed4323767493c409de5d0cf4f4c4f (patch) | |
| tree | 88b51e353b69f54d1e2c9a51582bec48c8c1f1c5 /indra | |
| parent | 3f45d5472c603e9f034161b382ce42baa3a5b3c0 (diff) | |
SH-3800 WIP - fixed bad case in appearance version computation
Diffstat (limited to 'indra')
| -rwxr-xr-x | indra/newview/llvoavatar.cpp | 8 | 
1 files changed, 7 insertions, 1 deletions
| diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index 1ea1b027f0..cc1993fe40 100755 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -6747,6 +6747,8 @@ void LLVOAvatar::parseAppearanceMessage(LLMessageSystem* mesgsys, LLAppearanceMe  bool resolve_appearance_version(const LLAppearanceMessageContents& contents, S32& appearance_version)  { +	appearance_version = -1; +	  	if ((contents.mAppearanceVersion) >= 0 &&  		(contents.mParamAppearanceVersion >= 0) &&  		(contents.mAppearanceVersion != contents.mParamAppearanceVersion)) @@ -6763,7 +6765,7 @@ bool resolve_appearance_version(const LLAppearanceMessageContents& contents, S32  	{  		appearance_version = contents.mAppearanceVersion;  	} -	if (contents.mAppearanceVersion < 0) // still not set, go with 0. +	if (appearance_version < 0) // still not set, go with 0.  	{  		appearance_version = 0;  	} @@ -6823,6 +6825,10 @@ void LLVOAvatar::processAvatarAppearance( LLMessageSystem* mesgsys )  			return;  		}  	} +	else +	{ +		LL_DEBUGS("Avatar") << "appearance message received" << llendl; +	}  	// Check for stale update.  	if (isSelf() | 
