diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Communications/Local')
-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 9f547a2..135a05e 100644 --- a/OpenSim/Region/Environment/Modules/Communications/Local/LocalInterregionComms.cs +++ b/OpenSim/Region/Environment/Modules/Communications/Local/LocalInterregionComms.cs | |||
@@ -133,6 +133,21 @@ namespace OpenSim.Region.Environment.Modules.Communications.Local | |||
133 | return false; | 133 | return false; |
134 | } | 134 | } |
135 | 135 | ||
136 | public bool SendChildAgentUpdate(ulong regionHandle, AgentPosition cAgentData) | ||
137 | { | ||
138 | foreach (Scene s in m_sceneList) | ||
139 | { | ||
140 | if (s.RegionInfo.RegionHandle == regionHandle) | ||
141 | { | ||
142 | //m_log.Debug("[LOCAL COMMS]: Found region to send ChildAgentUpdate"); | ||
143 | s.IncomingChildAgentDataUpdate(cAgentData); | ||
144 | return true; | ||
145 | } | ||
146 | } | ||
147 | //m_log.Debug("[LOCAL COMMS]: region not found for ChildAgentUpdate"); | ||
148 | return false; | ||
149 | } | ||
150 | |||
136 | public bool SendReleaseAgent(ulong regionHandle, UUID id, string uri) | 151 | public bool SendReleaseAgent(ulong regionHandle, UUID id, string uri) |
137 | { | 152 | { |
138 | //uint x, y; | 153 | //uint x, y; |