Commits

leyla_linden  committed fd49f2e

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

  • Participants
  • Parent commits 2d05884

Comments (0)

Files changed (2)

File indra/newview/llappearancemgr.h

 
 	bool isOutfitLocked() { return mOutfitLocked; }
 
+	bool isInUpdateAppearanceFromCOF() { return mIsInUpdateAppearanceFromCOF; }
+
 protected:
 	LLAppearanceMgr();
 	~LLAppearanceMgr();

File indra/newview/llvoavatar.cpp

 	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();
 		}
 	}