[Animesh] Hook up isImposter override for control avatars
This commit is contained in:
@@ -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())
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ public:
|
|||||||
|
|
||||||
bool shouldRenderRigged() const override;
|
bool shouldRenderRigged() const override;
|
||||||
|
|
||||||
virtual BOOL isImpostor();
|
BOOL isImpostor() const override;
|
||||||
|
|
||||||
bool mPlaying;
|
bool mPlaying;
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user