Fix minor race condition in SOP.SitTargetOrientationLL where inconsistent values could be returned if the sit orientation was changed whilst the property was being fetched.
parent
9d6ff81a07
commit
f603cbec02
|
@ -1116,17 +1116,8 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
|
||||
public Quaternion SitTargetOrientationLL
|
||||
{
|
||||
get
|
||||
{
|
||||
return new Quaternion(
|
||||
m_sitTargetOrientation.X,
|
||||
m_sitTargetOrientation.Y,
|
||||
m_sitTargetOrientation.Z,
|
||||
m_sitTargetOrientation.W
|
||||
);
|
||||
}
|
||||
|
||||
set { m_sitTargetOrientation = new Quaternion(value.X, value.Y, value.Z, value.W); }
|
||||
get { return m_sitTargetOrientation; }
|
||||
set { m_sitTargetOrientation = value; }
|
||||
}
|
||||
|
||||
public bool Stopped
|
||||
|
|
Loading…
Reference in New Issue