diff options
Diffstat (limited to 'indra/newview')
| -rwxr-xr-x | indra/newview/llagent.cpp | 12 | ||||
| -rwxr-xr-x | indra/newview/llvoavatar.cpp | 7 | ||||
| -rwxr-xr-x | indra/newview/llvoavatar.h | 2 | 
3 files changed, 12 insertions, 9 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp index e15b4d071f..5796c34e25 100755 --- a/indra/newview/llagent.cpp +++ b/indra/newview/llagent.cpp @@ -4286,12 +4286,6 @@ void LLAgent::requestLeaveGodMode()  //-----------------------------------------------------------------------------  void LLAgent::sendAgentSetAppearance()  { -	// FIXME DRANO - problems around new-style appearance in an old-style region. -	// - does this get called? -	// - need to change mUseServerBakes->FALSE in that case -	// - need to call processAvatarAppearance as if server had returned this result? -	// gAgentAvatarp->mUseServerBakes = FALSE; -  	if (gAgentQueryManager.mNumPendingQueries > 0)   	{  		return; @@ -4308,6 +4302,10 @@ void LLAgent::sendAgentSetAppearance()  	if (!isAgentAvatarValid() || (getRegion() && getRegion()->getCentralBakeVersion())) return; +	// At this point we have a complete appearance to send and are in a non-baking region. +	// DRANO FIXME +	//gAgentAvatarp->setIsUsingServerBakes(FALSE); +  	LL_INFOS("Avatar") << gAgentAvatarp->avString() << "TAT: Sent AgentSetAppearance: " << gAgentAvatarp->getBakedStatusForPrintout() << LL_ENDL;  	//dumpAvatarTEs( "sendAgentSetAppearance()" ); @@ -4408,7 +4406,7 @@ void LLAgent::sendAgentSetAppearance()  		}  	} -//	llinfos << "Avatar XML num VisualParams transmitted = " << transmitted_params << llendl; +	//llinfos << "Avatar XML num VisualParams transmitted = " << transmitted_params << llendl;  	sendReliableMessage();  } diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index 6aad3c8918..3d58c50eba 100755 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -6651,7 +6651,7 @@ void LLVOAvatar::processAvatarAppearance( LLMessageSystem* mesgsys )  		return;  	} -	mUseServerBakes = (appearance_version > 0); +	setIsUsingServerBakes(appearance_version > 0);  	applyParsedTEMessage(tec); @@ -7276,6 +7276,11 @@ void LLVOAvatar::bodySizeChanged()  	}  } +BOOL LLVOAvatar::isUsingServerBakes() const +{ +	return mUseServerBakes; +} +  void LLVOAvatar::setIsUsingServerBakes(BOOL newval)  {  	mUseServerBakes = newval; diff --git a/indra/newview/llvoavatar.h b/indra/newview/llvoavatar.h index 2c64b9695e..c5064e4a52 100755 --- a/indra/newview/llvoavatar.h +++ b/indra/newview/llvoavatar.h @@ -653,7 +653,7 @@ public:  	// True if this avatar should fetch its baked textures via the new  	// appearance mechanism. -	/*virtual*/ BOOL	isUsingServerBakes() const { return mUseServerBakes; } +	BOOL				isUsingServerBakes() const;  	void 				setIsUsingServerBakes(BOOL newval);  | 
