[Animesh] Hook up isImposter override for control avatars

This commit is contained in:
Liru Færs
2020-01-05 00:07:36 -05:00
parent 19ad64cc96
commit 24118e8e67
3 changed files with 3 additions and 3 deletions

View File

@@ -606,7 +606,7 @@ bool LLControlAvatar::shouldRenderRigged() const
} }
// virtual // virtual
BOOL LLControlAvatar::isImpostor() BOOL LLControlAvatar::isImpostor() const
{ {
if (mRootVolp && mRootVolp->isAttachment()) if (mRootVolp && mRootVolp->isAttachment())
{ {

View File

@@ -76,7 +76,7 @@ public:
bool shouldRenderRigged() const override; bool shouldRenderRigged() const override;
virtual BOOL isImpostor(); BOOL isImpostor() const override;
bool mPlaying; bool mPlaying;

View File

@@ -555,7 +555,7 @@ private:
// Impostors // Impostors
//-------------------------------------------------------------------- //--------------------------------------------------------------------
public: public:
BOOL isImpostor() const; virtual BOOL isImpostor() const;
BOOL shouldImpostor(const U32 rank_factor = 1) const; BOOL shouldImpostor(const U32 rank_factor = 1) const;
BOOL needsImpostorUpdate() const; BOOL needsImpostorUpdate() const;
const LLVector3& getImpostorOffset() const; const LLVector3& getImpostorOffset() const;