diff options
author | Justin Clark-Casey (justincc) | 2011-09-16 22:55:24 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-09-16 22:55:24 +0100 |
commit | adfe713b4340771eee15371dd1216527b5662545 (patch) | |
tree | 263737724c2d627dc7d538e11b1c27f727764887 /OpenSim | |
parent | Remove setter from SP.OffsetPosition, since all sets should flow through SP.A... (diff) | |
download | opensim-SC_OLD-adfe713b4340771eee15371dd1216527b5662545.zip opensim-SC_OLD-adfe713b4340771eee15371dd1216527b5662545.tar.gz opensim-SC_OLD-adfe713b4340771eee15371dd1216527b5662545.tar.bz2 opensim-SC_OLD-adfe713b4340771eee15371dd1216527b5662545.tar.xz |
minor: I was wrong about OffsetPosition - sometimes it genuinely does return offset position!
Add method doc to explain this.
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 2b7966b..81475b8 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -526,6 +526,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
526 | } | 526 | } |
527 | } | 527 | } |
528 | 528 | ||
529 | /// <summary> | ||
530 | /// If sitting, returns the offset position from the prim the avatar is sitting on. | ||
531 | /// Otherwise, returns absolute position in the scene. | ||
532 | /// </summary> | ||
529 | public Vector3 OffsetPosition | 533 | public Vector3 OffsetPosition |
530 | { | 534 | { |
531 | get { return m_pos; } | 535 | get { return m_pos; } |