Simple attempt to fix post-TP empty appearance update cycle

The underlying cause is either on the bake service or caused by lost interactions during TP, this is an attempt to fix the symptom until the lab fix the cause. Hard to repro, treat with caution
meow-7.2.2
Beq 2021-02-18 02:44:15 +00:00
parent 792b64f906
commit e1237c6586
1 changed files with 9 additions and 0 deletions

View File

@ -10209,6 +10209,15 @@ void LLVOAvatar::processAvatarAppearance( LLMessageSystem* mesgsys )
// appearance version, which may cause us to look for baked
// textures in the wrong place and flag them as missing
// assets.
// <FS:Beq> Attempt to deal with empty appearance for self
if(isSelf() && mLastUpdateReceivedCOFVersion != -1)
{
LL_INFOS("Avatar") << "Empty appearance for self. Forcing a refresh" << LL_ENDL;
LLNotificationsUtil::add("AvatarRezSelfBakeForceUpdateNotification");
LLAppearanceMgr::instance().syncCofVersionAndRefresh();
}
else
// </FS:Beq>
LL_DEBUGS("Avatar") << "ignoring appearance message due to lack of params" << LL_ENDL;
return;
}