diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 9d1dca2..3a06e7d 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -185,8 +185,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
185 | return | 185 | return |
186 | !(SitTargetPosition == Vector3.Zero | 186 | !(SitTargetPosition == Vector3.Zero |
187 | && (SitTargetOrientation == Quaternion.Identity // Valid Zero Rotation quaternion | 187 | && (SitTargetOrientation == Quaternion.Identity // Valid Zero Rotation quaternion |
188 | || SitTargetOrientation.X == 0f && SitTargetOrientation.Y == 0f && SitTargetOrientation.Z == 1f && SitTargetOrientation.W == 0f // W-Z Mapping was invalid at one point | 188 | || (SitTargetOrientation.W == 0f && SitTargetOrientation.X == 0f && SitTargetOrientation.Y == 0f && SitTargetOrientation.Z == 0f ))); // Invalid Quaternion |
189 | || SitTargetOrientation.X == 0f && SitTargetOrientation.Y == 0f && SitTargetOrientation.Z == 0f && SitTargetOrientation.W == 0f)); // Invalid Quaternion | ||
190 | } | 189 | } |
191 | } | 190 | } |
192 | 191 | ||
@@ -1909,7 +1908,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1909 | 1908 | ||
1910 | public void ResetExpire() | 1909 | public void ResetExpire() |
1911 | { | 1910 | { |
1912 | Expires = DateTime.Now + new TimeSpan(600000000); | 1911 | Expires = DateTime.UtcNow + new TimeSpan(600000000); |
1913 | } | 1912 | } |
1914 | 1913 | ||
1915 | public void AddFlag(PrimFlags flag) | 1914 | public void AddFlag(PrimFlags flag) |