aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-04-03 00:09:28 +0100
committerJustin Clark-Casey (justincc)2013-04-03 00:09:28 +0100
commitc0319daa403f68427bb80b4845a92eb37f21a7b7 (patch)
tree6c447c4437bc7b7f7373846de50b78f52dac2c17 /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
parentminor: Make SOP.UpdateOffset() more consistent by checking against the same o... (diff)
downloadopensim-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/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs2
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