diff options
author | Diva Canto | 2016-06-19 13:57:01 -0700 |
---|---|---|
committer | Diva Canto | 2016-06-19 13:57:01 -0700 |
commit | ea3fe90ddb2eb2c7209c2bf6e49dc716a741e7a3 (patch) | |
tree | 87a28fde954f5cc07e251b68bbc1751c67ea238b /OpenSim | |
parent | Still related to mantis #7917, parcel prims info. Now sending the correct num... (diff) | |
download | opensim-SC-ea3fe90ddb2eb2c7209c2bf6e49dc716a741e7a3.zip opensim-SC-ea3fe90ddb2eb2c7209c2bf6e49dc716a741e7a3.tar.gz opensim-SC-ea3fe90ddb2eb2c7209c2bf6e49dc716a741e7a3.tar.bz2 opensim-SC-ea3fe90ddb2eb2c7209c2bf6e49dc716a741e7a3.tar.xz |
Mantis #7928: show grid size and show regions now working. Integers were being overflown.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Services/GridService/GridService.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Services/GridService/GridService.cs b/OpenSim/Services/GridService/GridService.cs index 53805d0..6b2dddf 100644 --- a/OpenSim/Services/GridService/GridService.cs +++ b/OpenSim/Services/GridService/GridService.cs | |||
@@ -799,14 +799,14 @@ namespace OpenSim.Services.GridService | |||
799 | return; | 799 | return; |
800 | } | 800 | } |
801 | 801 | ||
802 | List<RegionData> regions = m_Database.Get(int.MinValue, int.MinValue, int.MaxValue, int.MaxValue, UUID.Zero); | 802 | List<RegionData> regions = m_Database.Get(0, 0, int.MaxValue, int.MaxValue, UUID.Zero); |
803 | 803 | ||
804 | OutputRegionsToConsoleSummary(regions); | 804 | OutputRegionsToConsoleSummary(regions); |
805 | } | 805 | } |
806 | 806 | ||
807 | private void HandleShowGridSize(string module, string[] cmd) | 807 | private void HandleShowGridSize(string module, string[] cmd) |
808 | { | 808 | { |
809 | List<RegionData> regions = m_Database.Get(int.MinValue, int.MinValue, int.MaxValue, int.MaxValue, UUID.Zero); | 809 | List<RegionData> regions = m_Database.Get(0, 0, int.MaxValue, int.MaxValue, UUID.Zero); |
810 | 810 | ||
811 | double size = 0; | 811 | double size = 0; |
812 | 812 | ||