diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Communications/Local/LocalInterregionComms.cs')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Communications/Local/LocalInterregionComms.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/Communications/Local/LocalInterregionComms.cs b/OpenSim/Region/Environment/Modules/Communications/Local/LocalInterregionComms.cs index 135a05e..efc5c39 100644 --- a/OpenSim/Region/Environment/Modules/Communications/Local/LocalInterregionComms.cs +++ b/OpenSim/Region/Environment/Modules/Communications/Local/LocalInterregionComms.cs | |||
@@ -118,6 +118,21 @@ namespace OpenSim.Region.Environment.Modules.Communications.Local | |||
118 | 118 | ||
119 | #region IInterregionComms | 119 | #region IInterregionComms |
120 | 120 | ||
121 | public bool SendCreateChildAgent(ulong regionHandle, AgentCircuitData aCircuit) | ||
122 | { | ||
123 | foreach (Scene s in m_sceneList) | ||
124 | { | ||
125 | if (s.RegionInfo.RegionHandle == regionHandle) | ||
126 | { | ||
127 | //m_log.Debug("[LOCAL COMMS]: Found region to send SendCreateChildAgent"); | ||
128 | s.NewUserConnection(aCircuit); | ||
129 | return true; | ||
130 | } | ||
131 | } | ||
132 | //m_log.Debug("[LOCAL COMMS]: region not found for SendCreateChildAgent"); | ||
133 | return false; | ||
134 | } | ||
135 | |||
121 | public bool SendChildAgentUpdate(ulong regionHandle, AgentData cAgentData) | 136 | public bool SendChildAgentUpdate(ulong regionHandle, AgentData cAgentData) |
122 | { | 137 | { |
123 | foreach (Scene s in m_sceneList) | 138 | foreach (Scene s in m_sceneList) |