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
97f0c9da84
commit
7bf1986e91
|
@ -1152,17 +1152,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
|
|
||||||
public Quaternion SitTargetOrientationLL
|
public Quaternion SitTargetOrientationLL
|
||||||
{
|
{
|
||||||
get
|
get { return m_sitTargetOrientation; }
|
||||||
{
|
set { m_sitTargetOrientation = value; }
|
||||||
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); }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool Stopped
|
public bool Stopped
|
||||||
|
|
Loading…
Reference in New Issue