diff options
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/ODERayCastRequestManager.cs')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/ODERayCastRequestManager.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODERayCastRequestManager.cs b/OpenSim/Region/Physics/OdePlugin/ODERayCastRequestManager.cs index 8ea8668..c4cb250 100644 --- a/OpenSim/Region/Physics/OdePlugin/ODERayCastRequestManager.cs +++ b/OpenSim/Region/Physics/OdePlugin/ODERayCastRequestManager.cs | |||
@@ -67,7 +67,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
67 | private List<ContactResult> m_contactResults = new List<ContactResult>(); | 67 | private List<ContactResult> m_contactResults = new List<ContactResult>(); |
68 | 68 | ||
69 | 69 | ||
70 | public ODERayCastRequestManager( OdeScene pScene) | 70 | public ODERayCastRequestManager(OdeScene pScene) |
71 | { | 71 | { |
72 | m_scene = pScene; | 72 | m_scene = pScene; |
73 | nearCallback = near; | 73 | nearCallback = near; |
@@ -149,7 +149,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
149 | // Find closest contact and object. | 149 | // Find closest contact and object. |
150 | lock (m_contactResults) | 150 | lock (m_contactResults) |
151 | { | 151 | { |
152 | foreach(ContactResult cResult in m_contactResults) | 152 | foreach (ContactResult cResult in m_contactResults) |
153 | { | 153 | { |
154 | if (Vector3.Distance(req.Origin, cResult.Pos) < Vector3.Distance(req.Origin, closestcontact)) | 154 | if (Vector3.Distance(req.Origin, cResult.Pos) < Vector3.Distance(req.Origin, closestcontact)) |
155 | { | 155 | { |