Reinstate setter for OffsetPosition to allow setting the offset by script

while seated
avinationmerge
Melanie 2011-12-05 15:26:22 +01:00
parent 19d6aa2bc9
commit 35800d6a86
1 changed files with 7 additions and 0 deletions

View File

@ -567,6 +567,13 @@ namespace OpenSim.Region.Framework.Scenes
public Vector3 OffsetPosition public Vector3 OffsetPosition
{ {
get { return m_pos; } get { return m_pos; }
set
{
// There is no offset position when not seated
if (ParentID == 0)
return;
m_pos = value;
}
} }
/// <summary> /// <summary>