EXT-8140 Changing items in "add more" view, or editing the items, causes avatar to bounce up and down

master
Leyla Farazha 2010-07-08 14:51:27 -07:00
parent c80da2248d
commit 58ab4dfd88
2 changed files with 5 additions and 1 deletions

View File

@ -175,6 +175,8 @@ public:
bool isOutfitLocked() { return mOutfitLocked; }
bool isInUpdateAppearanceFromCOF() { return mIsInUpdateAppearanceFromCOF; }
protected:
LLAppearanceMgr();
~LLAppearanceMgr();

View File

@ -2095,8 +2095,10 @@ void LLVOAvatar::computeBodySize()
if (new_body_size != mBodySize)
{
mBodySize = new_body_size;
if (isSelf())
if (isSelf() && !LLAppearanceMgr::instance().isInUpdateAppearanceFromCOF())
{ // notify simulator of change in size
// but not if we are in the middle of updating appearance
gAgent.sendAgentSetAppearance();
}
}