From 093adb2113d748f28554393cc8a6fe53502126dc Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Thu, 15 Jan 2009 21:27:55 +0000 Subject: * Add new unit test for simple teleport in a standalone. * Does not yet check results. --- .../Modules/Communications/Local/LocalInterregionComms.cs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'OpenSim/Region/Environment/Modules/Communications/Local') diff --git a/OpenSim/Region/Environment/Modules/Communications/Local/LocalInterregionComms.cs b/OpenSim/Region/Environment/Modules/Communications/Local/LocalInterregionComms.cs index efc5c39..5fcb4bc 100644 --- a/OpenSim/Region/Environment/Modules/Communications/Local/LocalInterregionComms.cs +++ b/OpenSim/Region/Environment/Modules/Communications/Local/LocalInterregionComms.cs @@ -75,7 +75,6 @@ namespace OpenSim.Region.Environment.Modules.Communications.Local return; Init(scene); - } public void PostInitialise() @@ -119,17 +118,17 @@ namespace OpenSim.Region.Environment.Modules.Communications.Local #region IInterregionComms public bool SendCreateChildAgent(ulong regionHandle, AgentCircuitData aCircuit) - { + { foreach (Scene s in m_sceneList) - { + { if (s.RegionInfo.RegionHandle == regionHandle) { - //m_log.Debug("[LOCAL COMMS]: Found region to send SendCreateChildAgent"); +// m_log.DebugFormat("[LOCAL COMMS]: Found region {0} to send SendCreateChildAgent", regionHandle); s.NewUserConnection(aCircuit); return true; } } - //m_log.Debug("[LOCAL COMMS]: region not found for SendCreateChildAgent"); +// m_log.DebugFormat("[LOCAL COMMS]: Did not find region {0} for SendCreateChildAgent", regionHandle); return false; } -- cgit v1.1