diff options
| author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2012-12-03 14:34:00 -0500 | 
|---|---|---|
| committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2012-12-03 14:34:00 -0500 | 
| commit | 5c245e941ace3f52dfa3539c473e2c02f207d8a3 (patch) | |
| tree | eaaa5154144705e4f6972eafd96589e959f33c7b /indra | |
| parent | 9934cd2e29c8ea11e0859cd881d286fd56fae96e (diff) | |
SH-3562 WIP
Diffstat (limited to 'indra')
| -rwxr-xr-x | indra/newview/llappearancemgr.cpp | 13 | 
1 files changed, 8 insertions, 5 deletions
| diff --git a/indra/newview/llappearancemgr.cpp b/indra/newview/llappearancemgr.cpp index 09b0c132d2..321bf7edcb 100755 --- a/indra/newview/llappearancemgr.cpp +++ b/indra/newview/llappearancemgr.cpp @@ -239,14 +239,12 @@ public:  	void onCompletion()  	{ +		llinfos << "done" << llendl;  		if (!mTrackingPhase.empty())  		{  			selfStopPhase(mTrackingPhase);  		} -		if( LLInventoryCallbackManager::is_instantiated() ) -		{ -			LLAppearanceMgr::instance().wearInventoryCategoryOnAvatar(gInventory.getCategory(mDstCatID), mAppend); -		} +		LLAppearanceMgr::instance().wearInventoryCategoryOnAvatar(gInventory.getCategory(mDstCatID), mAppend);  	}  	// virtual @@ -2116,7 +2114,12 @@ void LLAppearanceMgr::wearInventoryCategoryOnAvatar( LLInventoryCategory* catego  	// Avoid unintentionally overwriting old wearables.  We have to do  	// this up front to avoid having to deal with the case of multiple  	// wearables being dirty. -	if(!category) return; +	if (!category) return; + +	if ( !LLInventoryCallbackManager::is_instantiated() ) +	{ +		return; +	}  	LL_INFOS("Avatar") << self_av_string() << "wearInventoryCategoryOnAvatar '" << category->getName()  			 << "'" << LL_ENDL; | 
