diff options
author | UbitUmarov | 2012-05-29 19:13:27 +0100 |
---|---|---|
committer | UbitUmarov | 2012-05-29 19:13:27 +0100 |
commit | 3e9a831e87432d971a6006966e35924df1ed855d (patch) | |
tree | 78e59a7d7fd714ee9be48487068561238d0a2842 | |
parent | Add advanced collision processing into ScenePresence (diff) | |
download | opensim-SC_OLD-3e9a831e87432d971a6006966e35924df1ed855d.zip opensim-SC_OLD-3e9a831e87432d971a6006966e35924df1ed855d.tar.gz opensim-SC_OLD-3e9a831e87432d971a6006966e35924df1ed855d.tar.bz2 opensim-SC_OLD-3e9a831e87432d971a6006966e35924df1ed855d.tar.xz |
fix physics not reporting collisions only with terrain
-rw-r--r-- | OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs b/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs index 093bc3c..6e4e41f 100644 --- a/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs +++ b/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs | |||
@@ -1118,6 +1118,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
1118 | if (CollisionEventsThisFrame == null) | 1118 | if (CollisionEventsThisFrame == null) |
1119 | CollisionEventsThisFrame = new CollisionEventUpdate(); | 1119 | CollisionEventsThisFrame = new CollisionEventUpdate(); |
1120 | CollisionEventsThisFrame.AddCollider(CollidedWith, contact); | 1120 | CollisionEventsThisFrame.AddCollider(CollidedWith, contact); |
1121 | _parent_scene.AddCollisionEventReporting(this); | ||
1121 | } | 1122 | } |
1122 | 1123 | ||
1123 | public void SendCollisions() | 1124 | public void SendCollisions() |