Bug in Teleport fixed -- Appearance was missing from AgentCircuitData.

This commit is contained in:
Diva Canto
2010-01-13 09:34:08 -08:00
parent 7356860b48
commit 4de82891a9
3 changed files with 25 additions and 16 deletions

View File

@@ -189,6 +189,8 @@ namespace OpenSim.Region.Framework.Scenes.Hypergrid
agentCircuit.InventoryFolder = UUID.Zero;
agentCircuit.startpos = position;
agentCircuit.child = true;
agentCircuit.Appearance = avatar.Appearance;
if (Util.IsOutsideView(oldRegionX, newRegionX, oldRegionY, newRegionY))
{
// brand new agent, let's create a new caps seed

View File

@@ -803,6 +803,7 @@ namespace OpenSim.Region.Framework.Scenes
agentCircuit.InventoryFolder = UUID.Zero;
agentCircuit.startpos = position;
agentCircuit.child = true;
agentCircuit.Appearance = avatar.Appearance;
if (Util.IsOutsideView(oldRegionX, newRegionX, oldRegionY, newRegionY))
{