diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2020-04-08 14:40:01 +0100 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2020-04-08 14:40:01 +0100 |
commit | 5c7e91f62fb8d76f437a751503c4e40f0c0fedf1 (patch) | |
tree | e3e003fe1ee5bdd5d9d225ce12d7efb09c44703e /indra/newview/llvoavatar.h | |
parent | b5b2d253f6306f20b67083258bd143c846c809a9 (diff) |
SL-12996 - replace checks of VisualMuteSettings with OverallAppearance
Diffstat (limited to 'indra/newview/llvoavatar.h')
-rw-r--r-- | indra/newview/llvoavatar.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/indra/newview/llvoavatar.h b/indra/newview/llvoavatar.h index ed0fc5a9d4..2239e7b23e 100644 --- a/indra/newview/llvoavatar.h +++ b/indra/newview/llvoavatar.h @@ -91,6 +91,7 @@ class LLVOAvatar : public: friend class LLVOAvatarSelf; + friend class LLAvatarCheckImpostorMode; /******************************************************************************** ** ** @@ -439,8 +440,13 @@ public: AV_ALWAYS_RENDER = 2 }; void setVisualMuteSettings(VisualMuteSettings set); + +protected: + // If you think you need to access this outside LLVOAvatar, you probably want getOverallAppearance() VisualMuteSettings getVisualMuteSettings() { return mVisuallyMuteSetting; }; +public: + // Overall Appearance is an output. Depending on whether the // avatar is blocked/muted, whether it exceeds the complexity // threshold, etc, avatar will want to be displayed in one of @@ -467,7 +473,7 @@ public: static void restoreGL(); S32 mSpecialRenderMode; // special lighting - private: +private: F32 mAttachmentSurfaceArea; //estimated surface area of attachments U32 mAttachmentVisibleTriangleCount; F32 mAttachmentEstTriangleCount; |