From adfe713b4340771eee15371dd1216527b5662545 Mon Sep 17 00:00:00 2001 From: "Justin Clark-Casey (justincc)" Date: Fri, 16 Sep 2011 22:55:24 +0100 Subject: [PATCH] minor: I was wrong about OffsetPosition - sometimes it genuinely does return offset position! Add method doc to explain this. --- OpenSim/Region/Framework/Scenes/ScenePresence.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 2b7966b52e..81475b8e58 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs @@ -526,6 +526,10 @@ namespace OpenSim.Region.Framework.Scenes } } + /// + /// If sitting, returns the offset position from the prim the avatar is sitting on. + /// Otherwise, returns absolute position in the scene. + /// public Vector3 OffsetPosition { get { return m_pos; }