Changed a couple of comments to be more generic
parent
13b1c5dfce
commit
c2346a0823
|
@ -172,7 +172,7 @@ namespace OpenSim.Region.PhysicsModule.ODE
|
||||||
/// <param name="req"></param>
|
/// <param name="req"></param>
|
||||||
private void RayCast(ODERayCastRequest req)
|
private void RayCast(ODERayCastRequest req)
|
||||||
{
|
{
|
||||||
// UBIT: limit ray lenght or collisions will take all avaiable stack space
|
// NOTE: limit ray lenght or collisions will take all avaiable stack space
|
||||||
// this value may still be too large, depending on machine configuration
|
// this value may still be too large, depending on machine configuration
|
||||||
// of maximum stack
|
// of maximum stack
|
||||||
float len = req.length;
|
float len = req.length;
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Ubit changes for varsize regions
|
// changes for varsize regions
|
||||||
// note that raycasts need to have limited range
|
// note that raycasts need to have limited range
|
||||||
// (even in normal regions)
|
// (even in normal regions)
|
||||||
// or aplication thread stack may just blowup
|
// or aplication thread stack may just blowup
|
||||||
|
@ -803,7 +803,7 @@ namespace OpenSim.Region.PhysicsModule.ODE
|
||||||
spaceGridMaxX = (int)(WorldExtents.X * spacesPerMeterX);
|
spaceGridMaxX = (int)(WorldExtents.X * spacesPerMeterX);
|
||||||
spaceGridMaxY = (int)(WorldExtents.Y * spacesPerMeterY);
|
spaceGridMaxY = (int)(WorldExtents.Y * spacesPerMeterY);
|
||||||
|
|
||||||
// ubit: limit number of spaces
|
// note: limit number of spaces
|
||||||
if (spaceGridMaxX > 24)
|
if (spaceGridMaxX > 24)
|
||||||
{
|
{
|
||||||
spaceGridMaxX = 24;
|
spaceGridMaxX = 24;
|
||||||
|
|
Loading…
Reference in New Issue