aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/ChildAgentDataUpdate.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/ChildAgentDataUpdate.cs11
1 files changed, 6 insertions, 5 deletions
diff --git a/OpenSim/Framework/ChildAgentDataUpdate.cs b/OpenSim/Framework/ChildAgentDataUpdate.cs
index 9fc048b..1c5f558 100644
--- a/OpenSim/Framework/ChildAgentDataUpdate.cs
+++ b/OpenSim/Framework/ChildAgentDataUpdate.cs
@@ -287,7 +287,7 @@ namespace OpenSim.Framework
287 public Vector3 AtAxis; 287 public Vector3 AtAxis;
288 public Vector3 LeftAxis; 288 public Vector3 LeftAxis;
289 public Vector3 UpAxis; 289 public Vector3 UpAxis;
290 public bool ChangedGrid; 290 public bool SenderWantsToWaitForRoot;
291 291
292 public float Far; 292 public float Far;
293 public float Aspect; 293 public float Aspect;
@@ -356,8 +356,9 @@ namespace OpenSim.Framework
356 args["left_axis"] = OSD.FromString(LeftAxis.ToString()); 356 args["left_axis"] = OSD.FromString(LeftAxis.ToString());
357 args["up_axis"] = OSD.FromString(UpAxis.ToString()); 357 args["up_axis"] = OSD.FromString(UpAxis.ToString());
358 358
359 359 //backwards compatibility
360 args["changed_grid"] = OSD.FromBoolean(ChangedGrid); 360 args["changed_grid"] = OSD.FromBoolean(SenderWantsToWaitForRoot);
361 args["wait_for_root"] = OSD.FromBoolean(SenderWantsToWaitForRoot);
361 args["far"] = OSD.FromReal(Far); 362 args["far"] = OSD.FromReal(Far);
362 args["aspect"] = OSD.FromReal(Aspect); 363 args["aspect"] = OSD.FromReal(Aspect);
363 364
@@ -526,8 +527,8 @@ namespace OpenSim.Framework
526 if (args["up_axis"] != null) 527 if (args["up_axis"] != null)
527 Vector3.TryParse(args["up_axis"].AsString(), out AtAxis); 528 Vector3.TryParse(args["up_axis"].AsString(), out AtAxis);
528 529
529 if (args["changed_grid"] != null) 530 if (args.ContainsKey("wait_for_root") && args["wait_for_root"] != null)
530 ChangedGrid = args["changed_grid"].AsBoolean(); 531 SenderWantsToWaitForRoot = args["wait_for_root"].AsBoolean();
531 532
532 if (args["far"] != null) 533 if (args["far"] != null)
533 Far = (float)(args["far"].AsReal()); 534 Far = (float)(args["far"].AsReal());