From c56015db23a224d928bc4adf24470c7a2a528aec Mon Sep 17 00:00:00 2001 From: andreykproductengine Date: Thu, 24 Sep 2015 20:29:36 +0300 Subject: MAINT-5612 Avatar Complexity reading remains stuck on zero --- indra/newview/llvoavatar.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'indra/newview/llvoavatar.cpp') diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index f7f00a67f9..552a9f6b28 100755 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -7357,7 +7357,10 @@ void LLVOAvatar::processAvatarAppearance( LLMessageSystem* mesgsys ) // appearance messages. mLastUpdateReceivedCOFVersion = this_update_cof_version; - applyParsedTEMessage(contents.mTEContents); + if (applyParsedTEMessage(contents.mTEContents) > 0 && isChanged(TEXTURE)) + { + updateVisualComplexity(); + } // prevent the overwriting of valid baked textures with invalid baked textures for (U8 baked_index = 0; baked_index < mBakedTextureDatas.size(); baked_index++) @@ -8429,6 +8432,7 @@ void LLVOAvatar::calculateUpdateRenderComplexity() << " reported " << mReportedVisualComplexity << LL_ENDL; } + else { LL_DEBUGS("AvatarRender") << "Avatar "<< getID() << " complexity updated no change " << mVisualComplexity -- cgit v1.2.3