summaryrefslogtreecommitdiff
path: root/indra/newview/llvovolume.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2017-12-11 21:18:05 +0000
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2017-12-11 21:18:05 +0000
commit6199cecd8bd40e9929f1863fcfa8220ccf9fdf3b (patch)
treef0d3fd92ca654b3f2e40c804e85c023adf2939cb /indra/newview/llvovolume.cpp
parentef264fd82e48a376db3c31323b3fcffe4d9c32b4 (diff)
SL-704 - more comment review/cleanup, some avatar state handling updated for animated objects.
Diffstat (limited to 'indra/newview/llvovolume.cpp')
-rw-r--r--indra/newview/llvovolume.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp
index cdab90d6cf..61844e064d 100644
--- a/indra/newview/llvovolume.cpp
+++ b/indra/newview/llvovolume.cpp
@@ -3357,12 +3357,11 @@ U32 LLVOVolume::getExtendedMeshFlags() const
void LLVOVolume::onSetExtendedMeshFlags(U32 flags)
{
- // AXON - the check against isAnySelected() 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 (!getRootEdit()->isAnySelected() && mDrawable.notNull())
+ // The isAnySelected() check was needed at one point to prevent
+ // graphics problems. These are now believed to be fixed so the
+ // check has been disabled.
+ if (/*!getRootEdit()->isAnySelected() &&*/ mDrawable.notNull())
{
// Need to trigger rebuildGeom(), which is where control avatars get created/removed
getRootEdit()->recursiveMarkForUpdate(TRUE);