diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs b/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs index c688727..e8c219c 100644 --- a/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs +++ b/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs | |||
@@ -552,15 +552,15 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
552 | spaceGridMaxX = (int)(WorldExtents.X * spacesPerMeterX); | 552 | spaceGridMaxX = (int)(WorldExtents.X * spacesPerMeterX); |
553 | spaceGridMaxY = (int)(WorldExtents.Y * spacesPerMeterY); | 553 | spaceGridMaxY = (int)(WorldExtents.Y * spacesPerMeterY); |
554 | 554 | ||
555 | if (spaceGridMaxX > 100) | 555 | if (spaceGridMaxX > 24) |
556 | { | 556 | { |
557 | spaceGridMaxX = 100; | 557 | spaceGridMaxX = 24; |
558 | spacesPerMeterX = spaceGridMaxX / WorldExtents.X ; | 558 | spacesPerMeterX = spaceGridMaxX / WorldExtents.X ; |
559 | } | 559 | } |
560 | 560 | ||
561 | if (spaceGridMaxY > 100) | 561 | if (spaceGridMaxY > 24) |
562 | { | 562 | { |
563 | spaceGridMaxY = 100; | 563 | spaceGridMaxY = 24; |
564 | spacesPerMeterY = spaceGridMaxY / WorldExtents.Y ; | 564 | spacesPerMeterY = spaceGridMaxY / WorldExtents.Y ; |
565 | } | 565 | } |
566 | 566 | ||