mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
Stop SP.HandleAgentUpdate() and PhysicsCollisionUpdate() from being processed if we're dealing with a child ScenePresence.
Neither of these can have any effect on child agents Now leaving warning about trying to set animation on a child agent active. Might temporarily pop up now and again.
This commit is contained in:
@@ -158,14 +158,12 @@ namespace OpenSim.Region.Framework.Scenes.Animation
|
||||
SendAnimPack();
|
||||
}
|
||||
}
|
||||
// Don't leave this on since on teleports SP.HandleAgentUpdate() still hammers us for a while after it teleports
|
||||
// else
|
||||
// {
|
||||
// m_log.WarnFormat(
|
||||
// "[SCENE PRESENCE ANIMATOR]: Tried to set movement animation {0} on child presence {1}",
|
||||
// anim, m_scenePresence.Name);
|
||||
// throw new Exception(string.Format("aaargh on setting {0}", anim));
|
||||
// }
|
||||
else
|
||||
{
|
||||
m_log.WarnFormat(
|
||||
"[SCENE PRESENCE ANIMATOR]: Tried to set movement animation {0} on child presence {1}",
|
||||
anim, m_scenePresence.Name);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user