work in progress on improved default animations

meow-7.2.2
Brad Payne (Vir Linden) 2010-04-27 23:01:11 -04:00
parent 2927ae2fa4
commit 969a4bf934
1 changed files with 6 additions and 0 deletions

View File

@ -449,9 +449,15 @@ BOOL LLMotionController::stopMotionInstance(LLMotion* motion, BOOL stop_immediat
return FALSE;
}
// If on active list, stop it
if (isMotionActive(motion) && !motion->isStopped())
{
if (motion->getID() == ANIM_AGENT_FEMALE_WALK_NEW || motion->getID() == ANIM_AGENT_FEMALE_WALK)
{
llinfos << "stop female walk: " << animationName(motion->getID()) << llendl;
}
motion->setStopTime(mAnimTime);
if (stop_immediate)
{