From f62b7f3d1ed0fbc1afc431a1e25c20ec8effe243 Mon Sep 17 00:00:00 2001
From: lbsa71
Date: Sun, 8 Jul 2007 19:47:04 +0000
Subject: * reverted rev 1200 waiting for info re animations.xml
---
OpenSim/Region/Environment/Scenes/ScenePresence.cs | 33 +++-------------------
1 file changed, 4 insertions(+), 29 deletions(-)
(limited to 'OpenSim/Region/Environment/Scenes')
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
index d1e2817..14b7b2f 100644
--- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
@@ -122,8 +122,6 @@ namespace OpenSim.Region.Environment.Scenes
}
Wearables = AvatarWearable.DefaultWearables;
- Animations = new ScenePresence.AvatarAnimations();
- Animations.LoadAnims();
this.avatarAppearanceTexture = new LLObject.TextureEntry(new LLUUID("00000000-0000-0000-5005-000000000005"));
@@ -276,26 +274,8 @@ namespace OpenSim.Region.Environment.Scenes
{
this.AddNewMovement(agent_control_v3, q);
}
- UpdateMovementAnimations(update_movementflag);
- }
-
- protected void UpdateMovementAnimations(bool update_movementflag)
- {
- if (update_movementflag)
- {
- if (movementflag != 0) {
- if (this._physActor.Flying) {
- this.SendAnimPack(Animations.AnimsLLUUID["FLY"], 1);
- } else {
- this.SendAnimPack(Animations.AnimsLLUUID["WALK"], 1);
- }
- } else {
- this.SendAnimPack(Animations.AnimsLLUUID["STAND"], 1);
- }
- }
-
- }
+ }
protected void AddNewMovement(Vector3 vec, Quaternion rotation)
{
@@ -423,13 +403,8 @@ namespace OpenSim.Region.Environment.Scenes
///
public void SendAnimPack(LLUUID animID, int seq)
{
- this.current_anim = animID;
- this.anim_seq = anim_seq;
- List avatars = this.m_world.RequestAvatarList();
- for (int i = 0; i < avatars.Count; i++)
- {
- avatars[i].ControllingClient.SendAnimation(animID, seq, this.ControllingClient.AgentId);
- }
+
+
}
///
@@ -437,7 +412,7 @@ namespace OpenSim.Region.Environment.Scenes
///
public void SendAnimPack()
{
- this.SendAnimPack(this.current_anim, this.anim_seq);
+
}
#endregion
--
cgit v1.1