* allocate the dictionary for AgentCircuitData.ChildrenCapSeeds when creating the circuitdata object to see if it's the cause of a null reference exception in the TestAddNeighbourRegio test

arthursv
Teravus Ovares (Dan Olivares) 2009-08-14 14:15:49 -04:00
parent 6ece8d86e0
commit dce81225c5
1 changed files with 1 additions and 0 deletions

View File

@ -113,6 +113,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests
agent.InventoryFolder = UUID.Zero; agent.InventoryFolder = UUID.Zero;
agent.startpos = Vector3.Zero; agent.startpos = Vector3.Zero;
agent.CapsPath = GetRandomCapsObjectPath(); agent.CapsPath = GetRandomCapsObjectPath();
agent.ChildrenCapSeeds = new Dictionary<ulong, string>();
string reason; string reason;
scene.NewUserConnection(agent, out reason); scene.NewUserConnection(agent, out reason);