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.

This commit is contained in:
Diva Canto
2010-01-12 09:49:27 -08:00
parent 66920a9047
commit 011a1b3798
2 changed files with 6 additions and 0 deletions

View File

@@ -423,6 +423,7 @@ namespace OpenSim.Region.Framework.Scenes
agent.InventoryFolder = UUID.Zero;
agent.startpos = new Vector3(128, 128, 70);
agent.child = true;
agent.Appearance = avatar.Appearance;
if (newRegions.Contains(neighbour.RegionHandle))
{
@@ -515,6 +516,9 @@ namespace OpenSim.Region.Framework.Scenes
agent.InventoryFolder = UUID.Zero;
agent.startpos = new Vector3(128, 128, 70);
agent.child = true;
if (avatar.Appearance == null)
m_log.Debug("XXX Appearance is null!!!!");
agent.Appearance = avatar.Appearance;
InformClientOfNeighbourDelegate d = InformClientOfNeighbourAsync;
d.BeginInvoke(avatar, agent, region, region.ExternalEndPoint, true,