diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2010-04-27 23:01:11 -0400 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2010-04-27 23:01:11 -0400 |
commit | 969a4bf934030fe543cd9b05e3ef1e2da0ba11d1 (patch) | |
tree | a727f20cb0b22b307e15585b6e75430b49f734ad /indra | |
parent | 2927ae2fa4058f249b8ff1e6bd7ed87b02917d57 (diff) |
work in progress on improved default animations
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llcharacter/llmotioncontroller.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/llcharacter/llmotioncontroller.cpp b/indra/llcharacter/llmotioncontroller.cpp index 5070f83ed6..6df72a4d9b 100644 --- a/indra/llcharacter/llmotioncontroller.cpp +++ b/indra/llcharacter/llmotioncontroller.cpp @@ -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) { |