aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin/OdeScene.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/OdeScene.cs')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/OdeScene.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/OdeScene.cs b/OpenSim/Region/Physics/OdePlugin/OdeScene.cs
index 243a323..812b469 100644
--- a/OpenSim/Region/Physics/OdePlugin/OdeScene.cs
+++ b/OpenSim/Region/Physics/OdePlugin/OdeScene.cs
@@ -726,14 +726,14 @@ namespace OpenSim.Region.Physics.OdePlugin
726 spaceGridMaxY = (int)(WorldExtents.Y * spacesPerMeterY); 726 spaceGridMaxY = (int)(WorldExtents.Y * spacesPerMeterY);
727 727
728 // ubit: limit number of spaces 728 // ubit: limit number of spaces
729 if (spaceGridMaxX > 100) 729 if (spaceGridMaxX > 24)
730 { 730 {
731 spaceGridMaxX = 100; 731 spaceGridMaxX = 24;
732 spacesPerMeterX = spaceGridMaxX / WorldExtents.X ; 732 spacesPerMeterX = spaceGridMaxX / WorldExtents.X ;
733 } 733 }
734 if (spaceGridMaxY > 100) 734 if (spaceGridMaxY > 24)
735 { 735 {
736 spaceGridMaxY = 100; 736 spaceGridMaxY = 24;
737 spacesPerMeterY = spaceGridMaxY / WorldExtents.Y; 737 spacesPerMeterY = spaceGridMaxY / WorldExtents.Y;
738 } 738 }
739 739