* Bugfix mantis 4441, "Use of Autopilot isn't playing any animations."

* Turns out the new animator used a different movement bitflag then the one used in the code to autopilot the avatar
This commit is contained in:
Teravus Ovares (Dan Olivares)
2009-12-12 02:41:59 -05:00
parent 35961caec6
commit 0639e90f56
2 changed files with 15 additions and 5 deletions

View File

@@ -128,7 +128,7 @@ namespace OpenSim.Region.Framework.Scenes.Animation
if (!m_scenePresence.IsChildAgent)
{
if (m_animations.TrySetDefaultAnimation(
anim, m_scenePresence.ControllingClient.NextAnimationSequenceNumber, UUID.Zero))
anim, m_scenePresence.ControllingClient.NextAnimationSequenceNumber, m_scenePresence.UUID))
{
// 16384 is CHANGED_ANIMATION
m_scenePresence.SendScriptEventToAttachments("changed", new Object[] { 16384 });