diff options
author | UbitUmarov | 2019-04-04 00:50:54 +0100 |
---|---|---|
committer | UbitUmarov | 2019-04-04 00:50:54 +0100 |
commit | 15b6d8c1477e6a294819bf5c0c510d909997fb8f (patch) | |
tree | 9e5b005f60b628d04878a40ca0b1e0778fc87bfa /OpenSim/Framework/AgentCircuitData.cs | |
parent | change avatars sending point (diff) | |
download | opensim-SC-15b6d8c1477e6a294819bf5c0c510d909997fb8f.zip opensim-SC-15b6d8c1477e6a294819bf5c0c510d909997fb8f.tar.gz opensim-SC-15b6d8c1477e6a294819bf5c0c510d909997fb8f.tar.bz2 opensim-SC-15b6d8c1477e6a294819bf5c0c510d909997fb8f.tar.xz |
send agent view range to new child agents
Diffstat (limited to 'OpenSim/Framework/AgentCircuitData.cs')
-rw-r--r-- | OpenSim/Framework/AgentCircuitData.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Framework/AgentCircuitData.cs b/OpenSim/Framework/AgentCircuitData.cs index 5a9eeb5..330a41e 100644 --- a/OpenSim/Framework/AgentCircuitData.cs +++ b/OpenSim/Framework/AgentCircuitData.cs | |||
@@ -173,6 +173,7 @@ namespace OpenSim.Framework | |||
173 | /// Position the Agent's Avatar starts in the region | 173 | /// Position the Agent's Avatar starts in the region |
174 | /// </summary> | 174 | /// </summary> |
175 | public Vector3 startpos; | 175 | public Vector3 startpos; |
176 | public float startfar = -1.0f; | ||
176 | 177 | ||
177 | public Dictionary<string, object> ServiceURLs; | 178 | public Dictionary<string, object> ServiceURLs; |
178 | 179 | ||
@@ -219,6 +220,8 @@ namespace OpenSim.Framework | |||
219 | args["channel"] = OSD.FromString(Channel); | 220 | args["channel"] = OSD.FromString(Channel); |
220 | args["mac"] = OSD.FromString(Mac); | 221 | args["mac"] = OSD.FromString(Mac); |
221 | args["id0"] = OSD.FromString(Id0); | 222 | args["id0"] = OSD.FromString(Id0); |
223 | if(startfar > 0) | ||
224 | args["far"] = OSD.FromReal(startfar); | ||
222 | 225 | ||
223 | if (Appearance != null) | 226 | if (Appearance != null) |
224 | { | 227 | { |
@@ -327,6 +330,9 @@ namespace OpenSim.Framework | |||
327 | if (args["start_pos"] != null) | 330 | if (args["start_pos"] != null) |
328 | Vector3.TryParse(args["start_pos"].AsString(), out startpos); | 331 | Vector3.TryParse(args["start_pos"].AsString(), out startpos); |
329 | 332 | ||
333 | if(args["far"] != null) | ||
334 | startfar = (float)args["far"].AsReal(); | ||
335 | |||
330 | //m_log.InfoFormat("[AGENTCIRCUITDATA]: agentid={0}, child={1}, startpos={2}", AgentID, child, startpos); | 336 | //m_log.InfoFormat("[AGENTCIRCUITDATA]: agentid={0}, child={1}, startpos={2}", AgentID, child, startpos); |
331 | 337 | ||
332 | try | 338 | try |