diff options
author | Charles Krinke | 2008-11-06 19:18:30 +0000 |
---|---|---|
committer | Charles Krinke | 2008-11-06 19:18:30 +0000 |
commit | 9efc4e303b9996527f125a3de244471a5d78ded4 (patch) | |
tree | ee09daa3ed2d63e53b588cd0f0e43d325ce6b943 /OpenSim/Region/Environment | |
parent | Mantis#2514 & 1375. Thank you kindly, Thomas for a patch that: (diff) | |
download | opensim-SC_OLD-9efc4e303b9996527f125a3de244471a5d78ded4.zip opensim-SC_OLD-9efc4e303b9996527f125a3de244471a5d78ded4.tar.gz opensim-SC_OLD-9efc4e303b9996527f125a3de244471a5d78ded4.tar.bz2 opensim-SC_OLD-9efc4e303b9996527f125a3de244471a5d78ded4.tar.xz |
Mantis#2423. Thank you kindly, Godfrey for a patch that:
Included patch fixes error: Z and W terms in the quaternion were
swapped (ZERO_ROTATION is <0,0,0,1>, it was checking for <0,0,1,0>).
There is an issue with older prims: it seems their default sit
target was not always set to ZERO_ROTATION;
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/ScenePresence.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index 73bcfd8..fb9c29c 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs | |||
@@ -1230,8 +1230,8 @@ namespace OpenSim.Region.Environment.Scenes | |||
1230 | 1230 | ||
1231 | bool SitTargetUnOccupied = (!(avOnTargetAlready != UUID.Zero)); | 1231 | bool SitTargetUnOccupied = (!(avOnTargetAlready != UUID.Zero)); |
1232 | bool SitTargetisSet = | 1232 | bool SitTargetisSet = |
1233 | (!(avSitOffSet.X == 0f && avSitOffSet.Y == 0f && avSitOffSet.Z == 0f && avSitOrientation.W == 0f && | 1233 | (!(avSitOffSet.X == 0f && avSitOffSet.Y == 0f && avSitOffSet.Z == 0f && avSitOrientation.W == 1f && |
1234 | avSitOrientation.X == 0f && avSitOrientation.Y == 0f && avSitOrientation.Z == 1f)); | 1234 | avSitOrientation.X == 0f && avSitOrientation.Y == 0f && avSitOrientation.Z == 0f)); |
1235 | 1235 | ||
1236 | if (SitTargetisSet && SitTargetUnOccupied) | 1236 | if (SitTargetisSet && SitTargetUnOccupied) |
1237 | { | 1237 | { |