More set-but-not-used, dead code.
parent
ebc2679892
commit
8894abaafa
|
|
@ -5659,13 +5659,15 @@ bool LLVOAvatar::updateCharacter(LLAgent &agent)
|
|||
|
||||
bool visible = isVisible();
|
||||
bool is_control_avatar = isControlAvatar(); // capture state to simplify tracing
|
||||
bool is_attachment = false;
|
||||
// bool is_attachment = false; // <FS:Beq/> Set but not used
|
||||
|
||||
if (is_control_avatar)
|
||||
{
|
||||
LLControlAvatar *cav = dynamic_cast<LLControlAvatar*>(this);
|
||||
is_attachment = cav && cav->mRootVolp && cav->mRootVolp->isAttachment(); // For attached animated objects
|
||||
}
|
||||
// <FS:Beq> Set but not used
|
||||
// if (is_control_avatar)
|
||||
// {
|
||||
// LLControlAvatar *cav = dynamic_cast<LLControlAvatar*>(this);
|
||||
// is_attachment = cav && cav->mRootVolp && cav->mRootVolp->isAttachment(); // For attached animated objects
|
||||
// }
|
||||
// </FS:Beq>
|
||||
|
||||
// For fading out the names above heads, only let the timer
|
||||
// run if we're visible.
|
||||
|
|
|
|||
Loading…
Reference in New Issue