More set-but-not-used, dead code.

meow-7.2.2
Beq 2025-08-10 17:59:41 +01:00
parent ebc2679892
commit 8894abaafa
1 changed files with 8 additions and 6 deletions

View File

@ -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.