diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs index ad7ff58..9a10c51 100644 --- a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs +++ b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs | |||
@@ -149,6 +149,20 @@ namespace OpenSim.Region.Environment.Scenes | |||
149 | } | 149 | } |
150 | } | 150 | } |
151 | } | 151 | } |
152 | public void InformNeighborChildAgent(ScenePresence avatar, RegionInfo region) | ||
153 | { | ||
154 | AgentCircuitData agent = avatar.ControllingClient.RequestClientInfo(); | ||
155 | agent.BaseFolder = LLUUID.Zero; | ||
156 | agent.InventoryFolder = LLUUID.Zero; | ||
157 | agent.startpos = new LLVector3(128, 128, 70); | ||
158 | agent.child = true; | ||
159 | |||
160 | InformClientOfNeighbourDelegate d = InformClientOfNeighbourAsync; | ||
161 | d.BeginInvoke(avatar, agent, region.RegionHandle, region.ExternalEndPoint, | ||
162 | InformClientOfNeighbourCompleted, | ||
163 | d); | ||
164 | } | ||
165 | |||
152 | #endregion | 166 | #endregion |
153 | 167 | ||
154 | /// <summary> | 168 | /// <summary> |