mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 08:06:27 +08:00
actually reduce max number of ode spaces
This commit is contained in:
@@ -726,14 +726,14 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||
spaceGridMaxY = (int)(WorldExtents.Y * spacesPerMeterY);
|
||||
|
||||
// ubit: limit number of spaces
|
||||
if (spaceGridMaxX > 100)
|
||||
if (spaceGridMaxX > 24)
|
||||
{
|
||||
spaceGridMaxX = 100;
|
||||
spaceGridMaxX = 24;
|
||||
spacesPerMeterX = spaceGridMaxX / WorldExtents.X ;
|
||||
}
|
||||
if (spaceGridMaxY > 100)
|
||||
if (spaceGridMaxY > 24)
|
||||
{
|
||||
spaceGridMaxY = 100;
|
||||
spaceGridMaxY = 24;
|
||||
spacesPerMeterY = spaceGridMaxY / WorldExtents.Y;
|
||||
}
|
||||
|
||||
|
||||
@@ -552,15 +552,15 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||
spaceGridMaxX = (int)(WorldExtents.X * spacesPerMeterX);
|
||||
spaceGridMaxY = (int)(WorldExtents.Y * spacesPerMeterY);
|
||||
|
||||
if (spaceGridMaxX > 100)
|
||||
if (spaceGridMaxX > 24)
|
||||
{
|
||||
spaceGridMaxX = 100;
|
||||
spaceGridMaxX = 24;
|
||||
spacesPerMeterX = spaceGridMaxX / WorldExtents.X ;
|
||||
}
|
||||
|
||||
if (spaceGridMaxY > 100)
|
||||
if (spaceGridMaxY > 24)
|
||||
{
|
||||
spaceGridMaxY = 100;
|
||||
spaceGridMaxY = 24;
|
||||
spacesPerMeterY = spaceGridMaxY / WorldExtents.Y ;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user