fix minor race condition in SOP.SitTargetPositionLL where inconsistency could occur if the sit target position changed whilst the property was fetched

user_profiles
Justin Clark-Casey (justincc) 2013-04-03 00:09:28 +01:00
parent 3332af4060
commit c0319daa40
1 changed files with 1 additions and 1 deletions

View File

@ -1146,7 +1146,7 @@ namespace OpenSim.Region.Framework.Scenes
// the mappings more consistant. // the mappings more consistant.
public Vector3 SitTargetPositionLL public Vector3 SitTargetPositionLL
{ {
get { return new Vector3(m_sitTargetPosition.X, m_sitTargetPosition.Y,m_sitTargetPosition.Z); } get { return m_sitTargetPosition; }
set { m_sitTargetPosition = value; } set { m_sitTargetPosition = value; }
} }