Actual fix for the AO stop stuff. AO is still not up to par, but it's getting there.

Signed-off-by: Beeks <HgDelirium@gmail.com>
This commit is contained in:
Beeks
2010-09-12 20:27:18 -04:00
parent 974fbb1a29
commit 1da8076a64

View File

@@ -5838,15 +5838,14 @@ BOOL LLVOAvatar::stopMotion(const LLUUID& id, BOOL stop_immediate)
stopMotion(LLAO::mOverrides[id], stop_immediate);
}*/
}
/*else if this code ever works without crashing the viewer -HgB
else //if this code ever works without crashing the viewer -HgB
{
if (LLAO::mLastAnimation.notNull())
if (LLAO::mLastAnimation != LLUUID::null)
{
gAgent.sendAnimationRequest(LLAO::mLastAnimation, ANIM_REQUEST_STOP);
stopMotion(LLAO::mLastAnimation, true);
LLAO::mLastAnimation.setNull();
LLAO::mLastAnimation = LLUUID::null;
}
}*/
}
// </edit>
gAgent.onAnimStop(id);
}