Make FS AO animation transitions smoother by avoiding double starts and stops of motions

meow-7.2.2
ziree 2019-10-18 01:55:58 +02:00
parent 0314b6a8ec
commit 0bbccb1cda
1 changed files with 10 additions and 0 deletions

View File

@ -6454,6 +6454,11 @@ BOOL LLVOAvatar::startMotion(const LLUUID& id, F32 time_offset)
else
{
gAgent.sendAnimationRequest(remap_id, ANIM_REQUEST_START);
// since we did an override, there is no need to do anything else,
// specifically not the startMotion() part at the bottom of this function
// See FIRE-29020
return true;
}
}
else
@ -6495,6 +6500,11 @@ BOOL LLVOAvatar::stopMotion(const LLUUID& id, BOOL stop_immediate)
else
{
gAgent.sendAnimationRequest(remap_id, ANIM_REQUEST_STOP);
// since we did an override, there is no need to do anything else,
// specifically not the stopMotion() part at the bottom of this function
// See FIRE-29020
return true;
}
}
else