Mantis #7928: show grid size and show regions now working. Integers were being overflown.

LSLKeyTest
Diva Canto 2016-06-19 13:57:01 -07:00
parent 12b73603cc
commit ea3fe90ddb
1 changed files with 2 additions and 2 deletions

View File

@ -799,14 +799,14 @@ namespace OpenSim.Services.GridService
return;
}
List<RegionData> regions = m_Database.Get(int.MinValue, int.MinValue, int.MaxValue, int.MaxValue, UUID.Zero);
List<RegionData> regions = m_Database.Get(0, 0, int.MaxValue, int.MaxValue, UUID.Zero);
OutputRegionsToConsoleSummary(regions);
}
private void HandleShowGridSize(string module, string[] cmd)
{
List<RegionData> regions = m_Database.Get(int.MinValue, int.MinValue, int.MaxValue, int.MaxValue, UUID.Zero);
List<RegionData> regions = m_Database.Get(0, 0, int.MaxValue, int.MaxValue, UUID.Zero);
double size = 0;