diff options
author | Diva Canto | 2015-09-05 10:28:44 -0700 |
---|---|---|
committer | Diva Canto | 2015-09-05 10:28:44 -0700 |
commit | c2346a082336ee8ab50d86b04007389adad64f45 (patch) | |
tree | 3b2ac03fc91ada201b79e408c30303ddd8e14bba | |
parent | let ode suport var size regions (diff) | |
download | opensim-SC-c2346a082336ee8ab50d86b04007389adad64f45.zip opensim-SC-c2346a082336ee8ab50d86b04007389adad64f45.tar.gz opensim-SC-c2346a082336ee8ab50d86b04007389adad64f45.tar.bz2 opensim-SC-c2346a082336ee8ab50d86b04007389adad64f45.tar.xz |
Changed a couple of comments to be more generic
-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; |