summaryrefslogtreecommitdiff
path: root/indra/newview/llvovolume.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2017-10-10 19:30:51 +0100
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2017-10-10 19:30:51 +0100
commitaae13d1966b74adf59e1510bade8652f33e6867e (patch)
tree2efa2204395ecd9b6dddc26f72bc5d7ddf279c20 /indra/newview/llvovolume.cpp
parent4ded45eb90667e63abc75e3ee63d957886412c84 (diff)
SL-704 - comment and dead code cleanup
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())