mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
Add TriggerScenePresenceUpdated events when an animation is added
or removed. Shouldn't impact anyone as only DSG seems to use OnScenePresenceUpdated event. Some minor format changes to AnimationSet's ToString().
This commit is contained in:
@@ -312,18 +312,22 @@ namespace OpenSim.Region.Framework.Scenes.Animation
|
||||
buff.Append("dflt=");
|
||||
buff.Append(DefaultAnimation.ToString());
|
||||
buff.Append(",iDflt=");
|
||||
if (DefaultAnimation == ImplicitDefaultAnimation)
|
||||
if (DefaultAnimation.Equals(ImplicitDefaultAnimation))
|
||||
buff.Append("same");
|
||||
else
|
||||
buff.Append(ImplicitDefaultAnimation.ToString());
|
||||
if (m_animations.Count > 0)
|
||||
{
|
||||
buff.Append(",anims=");
|
||||
bool firstTime = true;
|
||||
foreach (OpenSim.Framework.Animation anim in m_animations)
|
||||
{
|
||||
if (!firstTime)
|
||||
buff.Append(",");
|
||||
buff.Append("<");
|
||||
buff.Append(anim.ToString());
|
||||
buff.Append(">,");
|
||||
buff.Append(">");
|
||||
firstTime = false;
|
||||
}
|
||||
}
|
||||
return buff.ToString();
|
||||
|
||||
Reference in New Issue
Block a user