aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/ChildAgentDataUpdate.cs
diff options
context:
space:
mode:
authorMelanie2013-07-25 16:55:23 +0100
committerMelanie2013-07-25 16:55:23 +0100
commit7914eaa35761952a0e5518bb4685a04d4917d03b (patch)
tree260b0fcb77285129181efab847f29b9570baf35b /OpenSim/Framework/ChildAgentDataUpdate.cs
parentMerge branch 'master' into careminster (diff)
parentDeleted all [ZZZ] debug messages. (diff)
downloadopensim-SC-7914eaa35761952a0e5518bb4685a04d4917d03b.zip
opensim-SC-7914eaa35761952a0e5518bb4685a04d4917d03b.tar.gz
opensim-SC-7914eaa35761952a0e5518bb4685a04d4917d03b.tar.bz2
opensim-SC-7914eaa35761952a0e5518bb4685a04d4917d03b.tar.xz
Merge branch 'master' into careminster
Conflicts: OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs OpenSim/Region/Framework/Scenes/Scene.cs OpenSim/Region/Framework/Scenes/ScenePresence.cs bin/OpenSimDefaults.ini
Diffstat (limited to 'OpenSim/Framework/ChildAgentDataUpdate.cs')
-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 b399a58..4962629 100644
--- a/OpenSim/Framework/ChildAgentDataUpdate.cs
+++ b/OpenSim/Framework/ChildAgentDataUpdate.cs
@@ -292,7 +292,7 @@ namespace OpenSim.Framework
292 public Vector3 AtAxis; 292 public Vector3 AtAxis;
293 public Vector3 LeftAxis; 293 public Vector3 LeftAxis;
294 public Vector3 UpAxis; 294 public Vector3 UpAxis;
295 public bool ChangedGrid; 295 public bool SenderWantsToWaitForRoot;
296 296
297 public float Far; 297 public float Far;
298 public float Aspect; 298 public float Aspect;
@@ -363,8 +363,9 @@ namespace OpenSim.Framework
363 args["left_axis"] = OSD.FromString(LeftAxis.ToString()); 363 args["left_axis"] = OSD.FromString(LeftAxis.ToString());
364 args["up_axis"] = OSD.FromString(UpAxis.ToString()); 364 args["up_axis"] = OSD.FromString(UpAxis.ToString());
365 365
366 366 //backwards compatibility
367 args["changed_grid"] = OSD.FromBoolean(ChangedGrid); 367 args["changed_grid"] = OSD.FromBoolean(SenderWantsToWaitForRoot);
368 args["wait_for_root"] = OSD.FromBoolean(SenderWantsToWaitForRoot);
368 args["far"] = OSD.FromReal(Far); 369 args["far"] = OSD.FromReal(Far);
369 args["aspect"] = OSD.FromReal(Aspect); 370 args["aspect"] = OSD.FromReal(Aspect);
370 371
@@ -537,8 +538,8 @@ namespace OpenSim.Framework
537 if (args["up_axis"] != null) 538 if (args["up_axis"] != null)
538 Vector3.TryParse(args["up_axis"].AsString(), out AtAxis); 539 Vector3.TryParse(args["up_axis"].AsString(), out AtAxis);
539 540
540 if (args["changed_grid"] != null) 541 if (args.ContainsKey("wait_for_root") && args["wait_for_root"] != null)
541 ChangedGrid = args["changed_grid"].AsBoolean(); 542 SenderWantsToWaitForRoot = args["wait_for_root"].AsBoolean();
542 543
543 if (args["far"] != null) 544 if (args["far"] != null)
544 Far = (float)(args["far"].AsReal()); 545 Far = (float)(args["far"].AsReal());