Shooting at AIS3/Coro/Appearance bugs: Actually correct the local COF version to match the expected version we received from the server before issuing the appearance update request again
parent
0947819f64
commit
74eb8428d2
|
|
@ -3880,6 +3880,16 @@ void LLAppearanceMgr::serverAppearanceUpdateCoro()
|
|||
S32 expectedCofVersion = result["expected"].asInteger();
|
||||
LL_WARNS("Avatar") << "Server expected " << expectedCofVersion << " as COF version" << LL_ENDL;
|
||||
|
||||
// <FS:Ansariel> Correct local COF version to match the expected version
|
||||
LLViewerInventoryCategory* cof_cat = gInventory.getCategory(LLAppearanceMgr::instance().getCOF());
|
||||
if (cof_cat)
|
||||
{
|
||||
cof_cat->setVersion(expectedCofVersion);
|
||||
gAgentAvatarp->mLastUpdateRequestCOFVersion = expectedCofVersion;
|
||||
gAgentAvatarp->mLastUpdateReceivedCOFVersion = expectedCofVersion;
|
||||
}
|
||||
// </FS:Ansariel>
|
||||
|
||||
bRetry = true;
|
||||
// Wait for a 1/2 second before trying again. Just to keep from asking too quickly.
|
||||
if (++retryCount > BAKE_RETRY_MAX_COUNT)
|
||||
|
|
|
|||
Loading…
Reference in New Issue