mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
Re-add the objectID field to the anim pack, that was deemed unneccessary
and dropped nonths ago, because it is required to get smooth region crossings with AO running. Without it, in some corner cases, anims will continue to run in an unstoppable state.
This commit is contained in:
@@ -2854,9 +2854,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
// Do NOT try to parse UUID, animations cannot be triggered by ID
|
||||
UUID animID=InventoryKey(anim, (int)AssetType.Animation);
|
||||
if (animID == UUID.Zero)
|
||||
presence.AddAnimation(anim);
|
||||
presence.AddAnimation(anim, m_host.UUID);
|
||||
else
|
||||
presence.AddAnimation(animID);
|
||||
presence.AddAnimation(animID, m_host.UUID);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -559,7 +559,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
if (World.Entities.ContainsKey((UUID)avatar) && World.Entities[avatarID] is ScenePresence)
|
||||
{
|
||||
ScenePresence target = (ScenePresence)World.Entities[avatarID];
|
||||
target.AddAnimation(animation);
|
||||
target.AddAnimation(animation, m_host.UUID);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user