aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-04-03 00:24:33 +0100
committerJustin Clark-Casey (justincc)2013-04-03 00:24:33 +0100
commit7bf1986e9138df4629aa9323d3ba9fab5c884400 (patch)
treec64f5c49668cda1db0587bba896cf052946fab96 /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
parentUse consistent GroupPosition value Make SOP.UpdateGroupPosition() rather than... (diff)
downloadopensim-SC_OLD-7bf1986e9138df4629aa9323d3ba9fab5c884400.zip
opensim-SC_OLD-7bf1986e9138df4629aa9323d3ba9fab5c884400.tar.gz
opensim-SC_OLD-7bf1986e9138df4629aa9323d3ba9fab5c884400.tar.bz2
opensim-SC_OLD-7bf1986e9138df4629aa9323d3ba9fab5c884400.tar.xz
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.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs13
1 files changed, 2 insertions, 11 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index 7697411..93d4da0 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -1152,17 +1152,8 @@ namespace OpenSim.Region.Framework.Scenes
1152 1152
1153 public Quaternion SitTargetOrientationLL 1153 public Quaternion SitTargetOrientationLL
1154 { 1154 {
1155 get 1155 get { return m_sitTargetOrientation; }
1156 { 1156 set { m_sitTargetOrientation = value; }
1157 return new Quaternion(
1158 m_sitTargetOrientation.X,
1159 m_sitTargetOrientation.Y,
1160 m_sitTargetOrientation.Z,
1161 m_sitTargetOrientation.W
1162 );
1163 }
1164
1165 set { m_sitTargetOrientation = new Quaternion(value.X, value.Y, value.Z, value.W); }
1166 } 1157 }
1167 1158
1168 public bool Stopped 1159 public bool Stopped