Avatar now stands still and does the normal animation stuff
parent
ea84e93679
commit
868f184f23
|
@ -476,7 +476,16 @@ namespace OpenSim
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case PacketType.AgentAnimation:
|
case PacketType.AgentAnimation:
|
||||||
//Console.WriteLine(Pack.ToString());
|
AgentAnimationPacket AgentAni = (AgentAnimationPacket)Pack;
|
||||||
|
for (int i = 0; i < AgentAni.AnimationList.Length; i++)
|
||||||
|
{
|
||||||
|
if (AgentAni.AnimationList[i].StartAnim)
|
||||||
|
{
|
||||||
|
ClientAvatar.current_anim = AgentAni.AnimationList[i].AnimID;
|
||||||
|
ClientAvatar.anim_seq = 1;
|
||||||
|
ClientAvatar.SendAnimPack();
|
||||||
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case PacketType.ObjectSelect:
|
case PacketType.ObjectSelect:
|
||||||
ObjectSelectPacket incomingselect = (ObjectSelectPacket)Pack;
|
ObjectSelectPacket incomingselect = (ObjectSelectPacket)Pack;
|
||||||
|
|
Loading…
Reference in New Issue