diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/ScenePresence.cs | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index 73e9d48..47f991c 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs | |||
@@ -461,8 +461,11 @@ namespace OpenSim.Region.Environment.Scenes | |||
461 | this.SendFullUpdateToOtherClient(avatar); | 461 | this.SendFullUpdateToOtherClient(avatar); |
462 | if (avatar.LocalId != this.LocalId) | 462 | if (avatar.LocalId != this.LocalId) |
463 | { | 463 | { |
464 | avatar.SendFullUpdateToOtherClient(this); | 464 | if (!avatar.childAgent) |
465 | avatar.SendAppearanceToOtherAgent(this); | 465 | { |
466 | avatar.SendFullUpdateToOtherClient(this); | ||
467 | avatar.SendAppearanceToOtherAgent(this); | ||
468 | } | ||
466 | } | 469 | } |
467 | } | 470 | } |
468 | } | 471 | } |
@@ -479,8 +482,8 @@ namespace OpenSim.Region.Environment.Scenes | |||
479 | this.newAvatar = false; | 482 | this.newAvatar = false; |
480 | } | 483 | } |
481 | 484 | ||
482 | // this.SendFullUpdateToALLClients(); | 485 | this.SendFullUpdateToALLClients(); |
483 | // this.SendArrearanceToAllOtherAgents(); | 486 | this.SendArrearanceToAllOtherAgents(); |
484 | } | 487 | } |
485 | 488 | ||
486 | /// <summary> | 489 | /// <summary> |
@@ -491,8 +494,8 @@ namespace OpenSim.Region.Environment.Scenes | |||
491 | { | 494 | { |
492 | this.ControllingClient.SendWearables(this.Wearables); | 495 | this.ControllingClient.SendWearables(this.Wearables); |
493 | 496 | ||
494 | this.SendFullUpdateToALLClients(); | 497 | //this.SendFullUpdateToALLClients(); |
495 | this.SendArrearanceToAllOtherAgents(); | 498 | //this.SendArrearanceToAllOtherAgents(); |
496 | 499 | ||
497 | this.m_scene.SendAllSceneObjectsToClient(this.ControllingClient); | 500 | this.m_scene.SendAllSceneObjectsToClient(this.ControllingClient); |
498 | this.ControllingClient.SendViewerTime(this.m_scene.TimePhase); | 501 | this.ControllingClient.SendViewerTime(this.m_scene.TimePhase); |
@@ -638,6 +641,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
638 | string capsPath = Util.GetCapsURL(this.ControllingClient.AgentId); | 641 | string capsPath = Util.GetCapsURL(this.ControllingClient.AgentId); |
639 | this.ControllingClient.CrossRegion(neighbourHandle, newpos, vel, neighbourRegion.ExternalEndPoint, capsPath); | 642 | this.ControllingClient.CrossRegion(neighbourHandle, newpos, vel, neighbourRegion.ExternalEndPoint, capsPath); |
640 | this.MakeChildAgent(); | 643 | this.MakeChildAgent(); |
644 | this.m_scene.SendKillObject(this.m_localId); | ||
641 | } | 645 | } |
642 | } | 646 | } |
643 | } | 647 | } |