diff --git a/indra/newview/llcontrolavatar.cpp b/indra/newview/llcontrolavatar.cpp index 17f34e41d..e0e7e820b 100644 --- a/indra/newview/llcontrolavatar.cpp +++ b/indra/newview/llcontrolavatar.cpp @@ -606,7 +606,7 @@ bool LLControlAvatar::shouldRenderRigged() const } // virtual -BOOL LLControlAvatar::isImpostor() +BOOL LLControlAvatar::isImpostor() const { if (mRootVolp && mRootVolp->isAttachment()) { diff --git a/indra/newview/llcontrolavatar.h b/indra/newview/llcontrolavatar.h index dca0ec0ac..7776ed901 100644 --- a/indra/newview/llcontrolavatar.h +++ b/indra/newview/llcontrolavatar.h @@ -76,7 +76,7 @@ public: bool shouldRenderRigged() const override; - virtual BOOL isImpostor(); + BOOL isImpostor() const override; bool mPlaying; diff --git a/indra/newview/llvoavatar.h b/indra/newview/llvoavatar.h index a996f6e9b..d28527499 100644 --- a/indra/newview/llvoavatar.h +++ b/indra/newview/llvoavatar.h @@ -555,7 +555,7 @@ private: // Impostors //-------------------------------------------------------------------- public: - BOOL isImpostor() const; + virtual BOOL isImpostor() const; BOOL shouldImpostor(const U32 rank_factor = 1) const; BOOL needsImpostorUpdate() const; const LLVector3& getImpostorOffset() const;