diff options
-rw-r--r-- | OpenSim/Region/PhysicsModules/Ode/ODERayCastRequestManager.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/PhysicsModules/Ode/OdeScene.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/PhysicsModules/Ode/ODERayCastRequestManager.cs b/OpenSim/Region/PhysicsModules/Ode/ODERayCastRequestManager.cs index 80f0fcf..743a6f6 100644 --- a/OpenSim/Region/PhysicsModules/Ode/ODERayCastRequestManager.cs +++ b/OpenSim/Region/PhysicsModules/Ode/ODERayCastRequestManager.cs | |||
@@ -225,7 +225,7 @@ namespace OpenSim.Region.PhysicsModule.ODE | |||
225 | /// <param name="req"></param> | 225 | /// <param name="req"></param> |
226 | private void RayCast(ODERayRequest req) | 226 | private void RayCast(ODERayRequest req) |
227 | { | 227 | { |
228 | // limit ray lenght or collisions will take all avaiable stack space | 228 | // limit ray length or collisions will take all avaiable stack space |
229 | float len = req.length; | 229 | float len = req.length; |
230 | if (len > 250f) | 230 | if (len > 250f) |
231 | len = 250f; | 231 | len = 250f; |
diff --git a/OpenSim/Region/PhysicsModules/Ode/OdeScene.cs b/OpenSim/Region/PhysicsModules/Ode/OdeScene.cs index 3ea522c..eb5e602 100644 --- a/OpenSim/Region/PhysicsModules/Ode/OdeScene.cs +++ b/OpenSim/Region/PhysicsModules/Ode/OdeScene.cs | |||
@@ -28,7 +28,7 @@ | |||
28 | // changes for varsize regions | 28 | // changes for varsize regions |
29 | // note that raycasts need to have limited range | 29 | // note that raycasts need to have limited range |
30 | // (even in normal regions) | 30 | // (even in normal regions) |
31 | // or aplication thread stack may just blowup | 31 | // or application thread stack may just blowup |
32 | // see RayCast(ODERayCastRequest req) | 32 | // see RayCast(ODERayCastRequest req) |
33 | 33 | ||
34 | //#define USE_DRAWSTUFF | 34 | //#define USE_DRAWSTUFF |