From e1237c6586b6e1475157b501b619d982edc961a0 Mon Sep 17 00:00:00 2001 From: Beq Date: Thu, 18 Feb 2021 02:44:15 +0000 Subject: [PATCH] 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 --- indra/newview/llvoavatar.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index 10616c5d23..368bc14a5b 100644 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -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. + // 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 + // LL_DEBUGS("Avatar") << "ignoring appearance message due to lack of params" << LL_ENDL; return; }