summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llvoavatar.cpp')
-rwxr-xr-xindra/newview/llvoavatar.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index e29cc7147c..3106e2b6d1 100755
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -699,7 +699,7 @@ LLVOAvatar::LLVOAvatar(const LLUUID& id,
mLastSkinTime(0.f),
mUpdatePeriod(1),
mVisualComplexityStale(true),
- mVisuallyMuteSetting(VISUAL_MUTE_NOT_SET),
+ mVisuallyMuteSetting(AV_RENDER_NORMALLY),
mMutedAVColor(calcMutedAVColor(getID())),
mFirstFullyVisible(TRUE),
mFullyLoaded(FALSE),
@@ -3088,11 +3088,11 @@ bool LLVOAvatar::isVisuallyMuted() const
// * check against the render cost and attachment limits
if (!isSelf())
{
- if (mVisuallyMuteSetting == NEVER_VISUAL_MUTE)
+ if (mVisuallyMuteSetting == AV_ALWAYS_RENDER)
{
muted = false;
}
- else if (mVisuallyMuteSetting == ALWAYS_VISUAL_MUTE)
+ else if (mVisuallyMuteSetting == AV_DO_NOT_RENDER)
{ // Always want to see this AV as an impostor
muted = true;
}
@@ -8082,7 +8082,7 @@ void LLVOAvatar::updateImpostors()
LLVOAvatar* avatar = (LLVOAvatar*) *iter;
if (!avatar->isDead() && avatar->isVisible()
&& (avatar->isImpostor() && avatar->needsImpostorUpdate())
- && (avatar->getVisualMuteSettings() != ALWAYS_VISUAL_MUTE))
+ && (avatar->getVisualMuteSettings() != AV_DO_NOT_RENDER))
{
gPipeline.generateImpostor(avatar);
}