summaryrefslogtreecommitdiff
path: root/indra/newview/llvovolume.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llvovolume.cpp')
-rw-r--r--indra/newview/llvovolume.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp
index f77fe56bac..311945d3ee 100644
--- a/indra/newview/llvovolume.cpp
+++ b/indra/newview/llvovolume.cpp
@@ -3333,10 +3333,13 @@ U32 LLVOVolume::getExtendedMeshFlags() const
void LLVOVolume::onSetExtendedMeshFlags(U32 flags)
{
+ // AXON - the check against mUserSelected is "empirically
+ // derived": doing rebuildGeom() while in selection trashes the
+ // graphics state of animated objects. Skipping this update is OK
+ // because we get another one on deselect.
if (mDrawable.notNull() && !mUserSelected)
{
// Need to trigger rebuildGeom(), which is where control avatars get created/removed
- //LL_INFOS() << (U32) this << " flags " << flags << ", calling markForUpdate()" << LL_ENDL;
markForUpdate(TRUE);
}
if (isAttachment() && getAvatarAncestor())