diff options
-rw-r--r-- | OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs b/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs index fbf2f0d..d344d4d 100644 --- a/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs +++ b/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs | |||
@@ -2675,9 +2675,8 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
2675 | m_rayCastManager.QueueRequest(geom,position, direction, length, Count, retMethod); | 2675 | m_rayCastManager.QueueRequest(geom,position, direction, length, Count, retMethod); |
2676 | } | 2676 | } |
2677 | } | 2677 | } |
2678 | 2678 | ||
2679 | // don't like this | 2679 | public override List<ContactResult> RaycastActor(PhysicsActor actor, Vector3 position, Vector3 direction, float length, int Count, RayFilterFlags flags) |
2680 | public override List<ContactResult> RaycastActor(PhysicsActor actor, Vector3 position, Vector3 direction, float length, int Count) | ||
2681 | { | 2680 | { |
2682 | if (actor != null) | 2681 | if (actor != null) |
2683 | { | 2682 | { |
@@ -2698,7 +2697,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
2698 | results.CopyTo(ourResults, 0); | 2697 | results.CopyTo(ourResults, 0); |
2699 | }; | 2698 | }; |
2700 | int waitTime = 0; | 2699 | int waitTime = 0; |
2701 | m_rayCastManager.QueueRequest(geom,position, direction, length, Count, retMethod); | 2700 | m_rayCastManager.QueueRequest(geom,position, direction, length, Count, flags, retMethod); |
2702 | while (ourResults == null && waitTime < 1000) | 2701 | while (ourResults == null && waitTime < 1000) |
2703 | { | 2702 | { |
2704 | Thread.Sleep(1); | 2703 | Thread.Sleep(1); |