aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r--OpenSim/Region/Environment/Scenes/ScenePresence.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
index 2bbdac1..57b717c 100644
--- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
@@ -1645,6 +1645,7 @@ namespace OpenSim.Region.Environment.Scenes
1645 { 1645 {
1646 avatar.SendFullUpdateToOtherClient(this); 1646 avatar.SendFullUpdateToOtherClient(this);
1647 avatar.SendAppearanceToOtherAgent(this); 1647 avatar.SendAppearanceToOtherAgent(this);
1648 avatar.SendAnimPackToClient(this.ControllingClient);
1648 } 1649 }
1649 } 1650 }
1650 } 1651 }
@@ -1773,6 +1774,18 @@ namespace OpenSim.Region.Environment.Scenes
1773 delegate(IClientAPI client) { client.SendAnimations(animations, seqs, m_controllingClient.AgentId); }); 1774 delegate(IClientAPI client) { client.SendAnimations(animations, seqs, m_controllingClient.AgentId); });
1774 } 1775 }
1775 1776
1777 public void SendAnimPackToClient(IClientAPI client)
1778 {
1779 if (m_isChildAgent)
1780 return;
1781 LLUUID[] animIDs;
1782 int[] sequenceNums;
1783
1784 m_animations.GetArrays(out animIDs, out sequenceNums);
1785
1786 client.SendAnimations(animIDs, sequenceNums, m_controllingClient.AgentId);
1787 }
1788
1776 /// <summary> 1789 /// <summary>
1777 /// 1790 ///
1778 /// </summary> 1791 /// </summary>