aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/ChildAgentDataUpdate.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/ChildAgentDataUpdate.cs14
1 files changed, 8 insertions, 6 deletions
diff --git a/OpenSim/Framework/ChildAgentDataUpdate.cs b/OpenSim/Framework/ChildAgentDataUpdate.cs
index 8c32734..4962629 100644
--- a/OpenSim/Framework/ChildAgentDataUpdate.cs
+++ b/OpenSim/Framework/ChildAgentDataUpdate.cs
@@ -171,9 +171,10 @@ namespace OpenSim.Framework
171 /// Soon to be decommissioned 171 /// Soon to be decommissioned
172 /// </summary> 172 /// </summary>
173 /// <param name="cAgent"></param> 173 /// <param name="cAgent"></param>
174 public void CopyFrom(ChildAgentDataUpdate cAgent) 174 public void CopyFrom(ChildAgentDataUpdate cAgent, UUID sid)
175 { 175 {
176 AgentID = new UUID(cAgent.AgentID); 176 AgentID = new UUID(cAgent.AgentID);
177 SessionID = sid;
177 178
178 // next: ??? 179 // next: ???
179 Size = new Vector3(); 180 Size = new Vector3();
@@ -291,7 +292,7 @@ namespace OpenSim.Framework
291 public Vector3 AtAxis; 292 public Vector3 AtAxis;
292 public Vector3 LeftAxis; 293 public Vector3 LeftAxis;
293 public Vector3 UpAxis; 294 public Vector3 UpAxis;
294 public bool ChangedGrid; 295 public bool SenderWantsToWaitForRoot;
295 296
296 public float Far; 297 public float Far;
297 public float Aspect; 298 public float Aspect;
@@ -362,8 +363,9 @@ namespace OpenSim.Framework
362 args["left_axis"] = OSD.FromString(LeftAxis.ToString()); 363 args["left_axis"] = OSD.FromString(LeftAxis.ToString());
363 args["up_axis"] = OSD.FromString(UpAxis.ToString()); 364 args["up_axis"] = OSD.FromString(UpAxis.ToString());
364 365
365 366 //backwards compatibility
366 args["changed_grid"] = OSD.FromBoolean(ChangedGrid); 367 args["changed_grid"] = OSD.FromBoolean(SenderWantsToWaitForRoot);
368 args["wait_for_root"] = OSD.FromBoolean(SenderWantsToWaitForRoot);
367 args["far"] = OSD.FromReal(Far); 369 args["far"] = OSD.FromReal(Far);
368 args["aspect"] = OSD.FromReal(Aspect); 370 args["aspect"] = OSD.FromReal(Aspect);
369 371
@@ -536,8 +538,8 @@ namespace OpenSim.Framework
536 if (args["up_axis"] != null) 538 if (args["up_axis"] != null)
537 Vector3.TryParse(args["up_axis"].AsString(), out AtAxis); 539 Vector3.TryParse(args["up_axis"].AsString(), out AtAxis);
538 540
539 if (args["changed_grid"] != null) 541 if (args.ContainsKey("wait_for_root") && args["wait_for_root"] != null)
540 ChangedGrid = args["changed_grid"].AsBoolean(); 542 SenderWantsToWaitForRoot = args["wait_for_root"].AsBoolean();
541 543
542 if (args["far"] != null) 544 if (args["far"] != null)
543 Far = (float)(args["far"].AsReal()); 545 Far = (float)(args["far"].AsReal());