From 81ba94fde8871df86e304a3dad7846059fd32045 Mon Sep 17 00:00:00 2001
From: Teravus Ovares
Date: Thu, 29 Nov 2007 02:07:19 +0000
Subject: * Fixed about 7 issues with restarting sims and resolved interRegion
comms issues. This includes the issue that MW described this morning.
There's a lot of little nit picky changes that make a world of difference.
---
.../Communications/Local/LocalBackEndServices.cs | 29 +++++++++++-----------
1 file changed, 15 insertions(+), 14 deletions(-)
(limited to 'OpenSim/Region/Communications/Local')
diff --git a/OpenSim/Region/Communications/Local/LocalBackEndServices.cs b/OpenSim/Region/Communications/Local/LocalBackEndServices.cs
index 0f3ec73..17989d4 100644
--- a/OpenSim/Region/Communications/Local/LocalBackEndServices.cs
+++ b/OpenSim/Region/Communications/Local/LocalBackEndServices.cs
@@ -194,34 +194,35 @@ namespace OpenSim.Region.Communications.Local
return mapBlocks;
}
- ///
- ///
- ///
- ///
- ///
- ///
- public bool RegionUp(SearializableRegionInfo sregion)
+
+ public bool RegionUp(SearializableRegionInfo sregion, ulong regionhandle)
{
RegionInfo region = new RegionInfo(sregion);
- foreach (RegionCommsListener listener in m_regionListeners.Values)
+ if (m_regionListeners.ContainsKey(regionhandle))
{
- listener.TriggerRegionUp(region);
+ return m_regionListeners[regionhandle].TriggerRegionUp(region);
}
return false;
}
- public bool TriggerRegionUp(RegionInfo region)
+ public bool TriggerRegionUp(RegionInfo region, ulong regionhandle)
{
-
- foreach (RegionCommsListener listener in m_regionListeners.Values)
+
+ if (m_regionListeners.ContainsKey(regionhandle))
{
- listener.TriggerRegionUp(region);
+ return m_regionListeners[regionhandle].TriggerRegionUp(region);
}
- return true;
+ return false;
}
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
public bool InformRegionOfChildAgent(ulong regionHandle, AgentCircuitData agentData)
//should change from agentCircuitData
{
--
cgit v1.1