diff options
| author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2013-09-23 17:17:29 -0400 | 
|---|---|---|
| committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2013-09-23 17:17:29 -0400 | 
| commit | d50be6a8a959b8d7b0f5c8a68b99d3929c17dced (patch) | |
| tree | 803003234064fb169575db52857719c5a781a3ab | |
| parent | 029642b2bc3a0bc0bec45af5df5d1e0b1b928b91 (diff) | |
SH-3455 WIP - post-SSA cleanup
| -rwxr-xr-x | indra/newview/llagentwearables.cpp | 10 | ||||
| -rwxr-xr-x | indra/newview/llagentwearables.h | 1 | ||||
| -rwxr-xr-x | indra/newview/llviewerwearable.cpp | 7 | ||||
| -rwxr-xr-x | indra/newview/llviewerwearable.h | 4 | 
4 files changed, 1 insertions, 21 deletions
| diff --git a/indra/newview/llagentwearables.cpp b/indra/newview/llagentwearables.cpp index 0ec0fa632d..77fd66e4ba 100755 --- a/indra/newview/llagentwearables.cpp +++ b/indra/newview/llagentwearables.cpp @@ -1477,16 +1477,6 @@ void LLAgentWearables::setWearableFinal(LLInventoryItem* new_item, LLViewerWeara  	updateServer();  } -// virtual -void LLAgentWearables::invalidateBakedTextureHash(LLMD5& hash) const -{ -	// Add some garbage into the hash so that it becomes invalid. -	if (isAgentAvatarValid()) -	{ -		hash.update((const unsigned char*)gAgentAvatarp->getID().mData, UUID_BYTES); -	} -} -  // User has picked "remove from avatar" from a menu.  // static  void LLAgentWearables::userRemoveWearable(const LLWearableType::EType &type, const U32 &index) diff --git a/indra/newview/llagentwearables.h b/indra/newview/llagentwearables.h index 81bfef0f8e..96c7d890b4 100755 --- a/indra/newview/llagentwearables.h +++ b/indra/newview/llagentwearables.h @@ -162,7 +162,6 @@ public:  	static void		processAgentInitialWearablesUpdate(LLMessageSystem* mesgsys, void** user_data);  protected: -	/*virtual*/ void	invalidateBakedTextureHash(LLMD5& hash) const;  	// SUNSHINE CLEANUP dead  	void			sendAgentWearablesUpdate();  	// SUNSHINE CLEANUP remove? diff --git a/indra/newview/llviewerwearable.cpp b/indra/newview/llviewerwearable.cpp index d6036dbecb..143eab133d 100755 --- a/indra/newview/llviewerwearable.cpp +++ b/indra/newview/llviewerwearable.cpp @@ -497,13 +497,6 @@ void LLViewerWearable::refreshName()  	}  } -// virtual -void LLViewerWearable::addToBakedTextureHash(LLMD5& hash) const -{ -	LLUUID asset_id = getAssetID(); -	hash.update((const unsigned char*)asset_id.mData, UUID_BYTES); -} -  struct LLWearableSaveData  {  	LLWearableType::EType mType; diff --git a/indra/newview/llviewerwearable.h b/indra/newview/llviewerwearable.h index 2e59596f12..fb92bca5cc 100755 --- a/indra/newview/llviewerwearable.h +++ b/indra/newview/llviewerwearable.h @@ -90,9 +90,7 @@ public:  	// the wearable was worn. make sure the name of the wearable object matches the LLViewerInventoryItem,  	// not the wearable asset itself.  	void				refreshName(); - -	// Update the baked texture hash. -	/*virtual*/void		addToBakedTextureHash(LLMD5& hash) const; +	/*virtual*/void		addToBakedTextureHash(LLMD5& hash) const {}  protected:  	LLAssetID			mAssetID; | 
