diff options
Diffstat (limited to 'OpenSim/Region/PhysicsModules/Ode')
-rw-r--r-- | OpenSim/Region/PhysicsModules/Ode/ODERayCastRequestManager.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/PhysicsModules/Ode/OdeScene.cs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/PhysicsModules/Ode/ODERayCastRequestManager.cs b/OpenSim/Region/PhysicsModules/Ode/ODERayCastRequestManager.cs index aafc7c6..cd5dbf8 100644 --- a/OpenSim/Region/PhysicsModules/Ode/ODERayCastRequestManager.cs +++ b/OpenSim/Region/PhysicsModules/Ode/ODERayCastRequestManager.cs | |||
@@ -172,7 +172,7 @@ namespace OpenSim.Region.PhysicsModule.ODE | |||
172 | /// <param name="req"></param> | 172 | /// <param name="req"></param> |
173 | private void RayCast(ODERayCastRequest req) | 173 | private void RayCast(ODERayCastRequest req) |
174 | { | 174 | { |
175 | // UBIT: limit ray lenght or collisions will take all avaiable stack space | 175 | // NOTE: limit ray lenght or collisions will take all avaiable stack space |
176 | // this value may still be too large, depending on machine configuration | 176 | // this value may still be too large, depending on machine configuration |
177 | // of maximum stack | 177 | // of maximum stack |
178 | float len = req.length; | 178 | float len = req.length; |
diff --git a/OpenSim/Region/PhysicsModules/Ode/OdeScene.cs b/OpenSim/Region/PhysicsModules/Ode/OdeScene.cs index 19b957f..88d4d15 100644 --- a/OpenSim/Region/PhysicsModules/Ode/OdeScene.cs +++ b/OpenSim/Region/PhysicsModules/Ode/OdeScene.cs | |||
@@ -25,7 +25,7 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | // Ubit 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 aplication thread stack may just blowup |
@@ -803,7 +803,7 @@ namespace OpenSim.Region.PhysicsModule.ODE | |||
803 | spaceGridMaxX = (int)(WorldExtents.X * spacesPerMeterX); | 803 | spaceGridMaxX = (int)(WorldExtents.X * spacesPerMeterX); |
804 | spaceGridMaxY = (int)(WorldExtents.Y * spacesPerMeterY); | 804 | spaceGridMaxY = (int)(WorldExtents.Y * spacesPerMeterY); |
805 | 805 | ||
806 | // ubit: limit number of spaces | 806 | // note: limit number of spaces |
807 | if (spaceGridMaxX > 24) | 807 | if (spaceGridMaxX > 24) |
808 | { | 808 | { |
809 | spaceGridMaxX = 24; | 809 | spaceGridMaxX = 24; |