aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Animation
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Animation')
-rw-r--r--OpenSim/Region/Framework/Scenes/Animation/ScenePresenceAnimator.cs13
1 files changed, 7 insertions, 6 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Animation/ScenePresenceAnimator.cs b/OpenSim/Region/Framework/Scenes/Animation/ScenePresenceAnimator.cs
index b43caf2..702a1e2 100644
--- a/OpenSim/Region/Framework/Scenes/Animation/ScenePresenceAnimator.cs
+++ b/OpenSim/Region/Framework/Scenes/Animation/ScenePresenceAnimator.cs
@@ -378,7 +378,7 @@ namespace OpenSim.Region.Framework.Scenes.Animation
378 } 378 }
379 } 379 }
380 380
381 AssetBase Animasset = new AssetBase(UUID.Random(), "Random Animation", (sbyte)AssetType.Animation); 381 AssetBase Animasset = new AssetBase(UUID.Random(), "Random Animation", (sbyte)AssetType.Animation, m_scenePresence.UUID.ToString());
382 Animasset.Data = anim.ToBytes(); 382 Animasset.Data = anim.ToBytes();
383 Animasset.Temporary = true; 383 Animasset.Temporary = true;
384 Animasset.Local = true; 384 Animasset.Local = true;
@@ -413,11 +413,12 @@ namespace OpenSim.Region.Framework.Scenes.Animation
413 if (m_scenePresence.IsChildAgent) 413 if (m_scenePresence.IsChildAgent)
414 return; 414 return;
415 415
416 m_scenePresence.Scene.ForEachScenePresence( 416 UUID[] animIDs;
417 delegate(ScenePresence SP) 417 int[] sequenceNums;
418 { 418 UUID[] objectIDs;
419 SP.Animator.SendAnimPack(); 419
420 }); 420 m_animations.GetArrays(out animIDs, out sequenceNums, out objectIDs);
421 client.SendAnimations(animIDs, sequenceNums, m_scenePresence.ControllingClient.AgentId, objectIDs);
421 } 422 }
422 423
423 /// <summary> 424 /// <summary>