diff options
author | Justin Clark-Casey (justincc) | 2013-04-03 00:09:28 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-04-03 00:09:28 +0100 |
commit | c0319daa403f68427bb80b4845a92eb37f21a7b7 (patch) | |
tree | 6c447c4437bc7b7f7373846de50b78f52dac2c17 /OpenSim/Region | |
parent | minor: Make SOP.UpdateOffset() more consistent by checking against the same o... (diff) | |
download | opensim-SC_OLD-c0319daa403f68427bb80b4845a92eb37f21a7b7.zip opensim-SC_OLD-c0319daa403f68427bb80b4845a92eb37f21a7b7.tar.gz opensim-SC_OLD-c0319daa403f68427bb80b4845a92eb37f21a7b7.tar.bz2 opensim-SC_OLD-c0319daa403f68427bb80b4845a92eb37f21a7b7.tar.xz |
fix minor race condition in SOP.SitTargetPositionLL where inconsistency could occur if the sit target position changed whilst the property was fetched
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index d412702..3e816fc 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -1146,7 +1146,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1146 | // the mappings more consistant. | 1146 | // the mappings more consistant. |
1147 | public Vector3 SitTargetPositionLL | 1147 | public Vector3 SitTargetPositionLL |
1148 | { | 1148 | { |
1149 | get { return new Vector3(m_sitTargetPosition.X, m_sitTargetPosition.Y,m_sitTargetPosition.Z); } | 1149 | get { return m_sitTargetPosition; } |
1150 | set { m_sitTargetPosition = value; } | 1150 | set { m_sitTargetPosition = value; } |
1151 | } | 1151 | } |
1152 | 1152 | ||