mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
Reinstate setter for OffsetPosition to allow setting the offset by script
while seated
This commit is contained in:
@@ -567,6 +567,13 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
public Vector3 OffsetPosition
|
||||
{
|
||||
get { return m_pos; }
|
||||
set
|
||||
{
|
||||
// There is no offset position when not seated
|
||||
if (ParentID == 0)
|
||||
return;
|
||||
m_pos = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user