diff options
author | Melanie | 2010-10-29 20:40:48 +0100 |
---|---|---|
committer | Melanie | 2010-10-29 20:40:48 +0100 |
commit | 9331898c320d7d6046c6d1ad467cdee0e32c8b71 (patch) | |
tree | 917ff7facdeb38d96f5f69576a134cbad4776eae /OpenSim/Client/MXP | |
parent | Merge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/ca... (diff) | |
parent | Merge branch 'dev-appearance' (diff) | |
download | opensim-SC-9331898c320d7d6046c6d1ad467cdee0e32c8b71.zip opensim-SC-9331898c320d7d6046c6d1ad467cdee0e32c8b71.tar.gz opensim-SC-9331898c320d7d6046c6d1ad467cdee0e32c8b71.tar.bz2 opensim-SC-9331898c320d7d6046c6d1ad467cdee0e32c8b71.tar.xz |
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Client/MXP/ClientStack/MXPClientView.cs | 4 | ||||
-rw-r--r-- | OpenSim/Client/MXP/PacketHandler/MXPPacketServer.cs | 4 |
2 files changed, 3 insertions, 5 deletions
diff --git a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs b/OpenSim/Client/MXP/ClientStack/MXPClientView.cs index df9d21b..a720db4 100644 --- a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs +++ b/OpenSim/Client/MXP/ClientStack/MXPClientView.cs | |||
@@ -597,7 +597,7 @@ namespace OpenSim.Client.MXP.ClientStack | |||
597 | public event TeleportLandmarkRequest OnTeleportLandmarkRequest; | 597 | public event TeleportLandmarkRequest OnTeleportLandmarkRequest; |
598 | public event DeRezObject OnDeRezObject; | 598 | public event DeRezObject OnDeRezObject; |
599 | public event Action<IClientAPI> OnRegionHandShakeReply; | 599 | public event Action<IClientAPI> OnRegionHandShakeReply; |
600 | public event GenericCall2 OnRequestWearables; | 600 | public event GenericCall1 OnRequestWearables; |
601 | public event GenericCall1 OnCompleteMovementToRegion; | 601 | public event GenericCall1 OnCompleteMovementToRegion; |
602 | public event UpdateAgent OnPreAgentUpdate; | 602 | public event UpdateAgent OnPreAgentUpdate; |
603 | public event UpdateAgent OnAgentUpdate; | 603 | public event UpdateAgent OnAgentUpdate; |
@@ -874,7 +874,7 @@ namespace OpenSim.Client.MXP.ClientStack | |||
874 | OpenSim.Region.Framework.Scenes.Scene scene=(OpenSim.Region.Framework.Scenes.Scene)Scene; | 874 | OpenSim.Region.Framework.Scenes.Scene scene=(OpenSim.Region.Framework.Scenes.Scene)Scene; |
875 | AvatarAppearance appearance; | 875 | AvatarAppearance appearance; |
876 | scene.GetAvatarAppearance(this,out appearance); | 876 | scene.GetAvatarAppearance(this,out appearance); |
877 | OnSetAppearance(appearance.Texture, (byte[])appearance.VisualParams.Clone()); | 877 | OnSetAppearance(this, appearance.Texture, (byte[])appearance.VisualParams.Clone()); |
878 | } | 878 | } |
879 | 879 | ||
880 | public void Stop() | 880 | public void Stop() |
diff --git a/OpenSim/Client/MXP/PacketHandler/MXPPacketServer.cs b/OpenSim/Client/MXP/PacketHandler/MXPPacketServer.cs index 7056e01..dcecb8b 100644 --- a/OpenSim/Client/MXP/PacketHandler/MXPPacketServer.cs +++ b/OpenSim/Client/MXP/PacketHandler/MXPPacketServer.cs | |||
@@ -533,9 +533,7 @@ namespace OpenSim.Client.MXP.PacketHandler | |||
533 | agent.InventoryFolder = UUID.Zero; | 533 | agent.InventoryFolder = UUID.Zero; |
534 | agent.startpos = new Vector3(0, 0, 0); // TODO Fill in region start position | 534 | agent.startpos = new Vector3(0, 0, 0); // TODO Fill in region start position |
535 | agent.CapsPath = "http://localhost/"; | 535 | agent.CapsPath = "http://localhost/"; |
536 | AvatarData avatar = scene.AvatarService.GetAvatar(account.PrincipalID); | 536 | agent.Appearance = scene.AvatarService.GetAppearance(account.PrincipalID); |
537 | if (avatar != null) | ||
538 | agent.Appearance = avatar.ToAvatarAppearance(account.PrincipalID); //userService.GetUserAppearance(userProfile.ID); | ||
539 | 537 | ||
540 | if (agent.Appearance == null) | 538 | if (agent.Appearance == null) |
541 | { | 539 | { |