aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorUbitUmarov2013-01-02 21:59:19 +0000
committerUbitUmarov2013-01-02 21:59:19 +0000
commita504704071b5302601240854c32fcc3d3c5cd3b8 (patch)
tree98e2da3d59afcf31a6734fa5ed1ae38f06c3e9c9 /OpenSim
parent add a lock to CollisionEventsThisFrame (diff)
downloadopensim-SC-a504704071b5302601240854c32fcc3d3c5cd3b8.zip
opensim-SC-a504704071b5302601240854c32fcc3d3c5cd3b8.tar.gz
opensim-SC-a504704071b5302601240854c32fcc3d3c5cd3b8.tar.bz2
opensim-SC-a504704071b5302601240854c32fcc3d3c5cd3b8.tar.xz
i try to fix avatar orientation in some cases..
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Physics/UbitOdePlugin/ODESitAvatar.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/UbitOdePlugin/ODESitAvatar.cs b/OpenSim/Region/Physics/UbitOdePlugin/ODESitAvatar.cs
index 9e23763..d6f6681 100644
--- a/OpenSim/Region/Physics/UbitOdePlugin/ODESitAvatar.cs
+++ b/OpenSim/Region/Physics/UbitOdePlugin/ODESitAvatar.cs
@@ -233,8 +233,8 @@ namespace OpenSim.Region.Physics.OdePlugin
233 norm = rayResults[0].Normal; 233 norm = rayResults[0].Normal;
234 edgeNormalX = norm.X; 234 edgeNormalX = norm.X;
235 edgeNormalY = norm.Y; 235 edgeNormalY = norm.Y;
236 edgeDirX = rayDir.X; 236 edgeDirX = -rayDir.X;
237 edgeDirY = rayDir.Y; 237 edgeDirY = -rayDir.Y;
238 } 238 }
239 else 239 else
240 { 240 {