diff options
author | Diva Canto | 2010-01-12 09:49:27 -0800 |
---|---|---|
committer | Diva Canto | 2010-01-12 09:49:27 -0800 |
commit | 011a1b3798016af355ffa352dc93667429749341 (patch) | |
tree | e22f82718a0bd28363e01c00c330b21a0a28d667 /OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs | |
parent | Fixed more appearance woes that showed up using remote connectors. Appearance... (diff) | |
download | opensim-SC_OLD-011a1b3798016af355ffa352dc93667429749341.zip opensim-SC_OLD-011a1b3798016af355ffa352dc93667429749341.tar.gz opensim-SC_OLD-011a1b3798016af355ffa352dc93667429749341.tar.bz2 opensim-SC_OLD-011a1b3798016af355ffa352dc93667429749341.tar.xz |
More appearance woes fixed, this time for child agents. Tested on a grid with 2 simulators. Everything seems to be working, including border crosses. TPs (prim crossing) need love now.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs b/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs index 11cb8cd..1e7f54a 100644 --- a/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs +++ b/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs | |||
@@ -423,6 +423,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
423 | agent.InventoryFolder = UUID.Zero; | 423 | agent.InventoryFolder = UUID.Zero; |
424 | agent.startpos = new Vector3(128, 128, 70); | 424 | agent.startpos = new Vector3(128, 128, 70); |
425 | agent.child = true; | 425 | agent.child = true; |
426 | agent.Appearance = avatar.Appearance; | ||
426 | 427 | ||
427 | if (newRegions.Contains(neighbour.RegionHandle)) | 428 | if (newRegions.Contains(neighbour.RegionHandle)) |
428 | { | 429 | { |
@@ -515,6 +516,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
515 | agent.InventoryFolder = UUID.Zero; | 516 | agent.InventoryFolder = UUID.Zero; |
516 | agent.startpos = new Vector3(128, 128, 70); | 517 | agent.startpos = new Vector3(128, 128, 70); |
517 | agent.child = true; | 518 | agent.child = true; |
519 | if (avatar.Appearance == null) | ||
520 | m_log.Debug("XXX Appearance is null!!!!"); | ||
521 | agent.Appearance = avatar.Appearance; | ||
518 | 522 | ||
519 | InformClientOfNeighbourDelegate d = InformClientOfNeighbourAsync; | 523 | InformClientOfNeighbourDelegate d = InformClientOfNeighbourAsync; |
520 | d.BeginInvoke(avatar, agent, region, region.ExternalEndPoint, true, | 524 | d.BeginInvoke(avatar, agent, region, region.ExternalEndPoint, true, |