mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +08:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user