Pushing this code up - Even if we can't get the AO working, at least this doesn't CRASH.

Signed-off-by: Beeks <HgDelirium@gmail.com>
This commit is contained in:
Beeks
2010-09-11 05:01:39 -04:00
parent d01da05d94
commit 2f79566311
4 changed files with 506 additions and 287 deletions

View File

@@ -4969,14 +4969,7 @@ void LLAgent::requestStopMotion( LLMotion* motion )
void LLAgent::onAnimStop(const LLUUID& id)
{
// handle automatic state transitions (based on completion of animation playback)
if(id == ANIM_AGENT_STAND
// <edit>
// I really do not like doing this
|| id == ANIM_AGENT_STAND_1
|| id == ANIM_AGENT_STAND_2
|| id == ANIM_AGENT_STAND_3
|| id == ANIM_AGENT_STAND_4)
// </edit>
if(LLAO::isStand(id))
{
// <edit>
if(LLAO::isEnabled())