diff options
author | Melanie | 2010-03-03 02:07:03 +0000 |
---|---|---|
committer | Melanie | 2010-03-03 02:07:03 +0000 |
commit | 028a87fe37002e7a0611f66babf1deee46c83804 (patch) | |
tree | 387aec499fd60c2012bed8148e6a2ddc847c3d95 /OpenSim/Region/Framework/Scenes/Animation | |
parent | Revert "test" (diff) | |
parent | Fixes Region.Framework tests. Although these tests don't fail, they need to b... (diff) | |
download | opensim-SC-028a87fe37002e7a0611f66babf1deee46c83804.zip opensim-SC-028a87fe37002e7a0611f66babf1deee46c83804.tar.gz opensim-SC-028a87fe37002e7a0611f66babf1deee46c83804.tar.bz2 opensim-SC-028a87fe37002e7a0611f66babf1deee46c83804.tar.xz |
Merge branch 'master' into careminster-presence-refactor
This brings careminster on the level of master. To be tested
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Animation/ScenePresenceAnimator.cs | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Animation/ScenePresenceAnimator.cs b/OpenSim/Region/Framework/Scenes/Animation/ScenePresenceAnimator.cs index e98f0e7..fd7d44f 100644 --- a/OpenSim/Region/Framework/Scenes/Animation/ScenePresenceAnimator.cs +++ b/OpenSim/Region/Framework/Scenes/Animation/ScenePresenceAnimator.cs | |||
@@ -385,7 +385,7 @@ namespace OpenSim.Region.Framework.Scenes.Animation | |||
385 | } | 385 | } |
386 | } | 386 | } |
387 | 387 | ||
388 | AssetBase Animasset = new AssetBase(UUID.Random(), "Random Animation", (sbyte)AssetType.Animation); | 388 | AssetBase Animasset = new AssetBase(UUID.Random(), "Random Animation", (sbyte)AssetType.Animation, m_scenePresence.UUID.ToString()); |
389 | Animasset.Data = anim.ToBytes(); | 389 | Animasset.Data = anim.ToBytes(); |
390 | Animasset.Temporary = true; | 390 | Animasset.Temporary = true; |
391 | Animasset.Local = true; | 391 | Animasset.Local = true; |
@@ -419,15 +419,12 @@ namespace OpenSim.Region.Framework.Scenes.Animation | |||
419 | { | 419 | { |
420 | if (m_scenePresence.IsChildAgent) | 420 | if (m_scenePresence.IsChildAgent) |
421 | return; | 421 | return; |
422 | |||
423 | UUID[] animIDs; | ||
424 | int[] sequenceNums; | ||
425 | UUID[] objectIDs; | ||
426 | 422 | ||
427 | m_animations.GetArrays(out animIDs, out sequenceNums, out objectIDs); | 423 | m_scenePresence.Scene.ForEachScenePresence( |
428 | 424 | delegate(ScenePresence SP) | |
429 | m_scenePresence.ControllingClient.SendAnimations( | 425 | { |
430 | animIDs, sequenceNums, m_scenePresence.ControllingClient.AgentId, objectIDs); | 426 | SP.Animator.SendAnimPack(); |
427 | }); | ||
431 | } | 428 | } |
432 | 429 | ||
433 | /// <summary> | 430 | /// <summary> |