aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
diff options
context:
space:
mode:
authorMelanie2011-01-28 02:34:07 +0000
committerMelanie2011-01-28 02:34:07 +0000
commit5a0cb7d37e2491e508e6e37f0c9ee2e8ce6e7957 (patch)
tree623ad2a3c1f91af6cd2ff1651e1f9991ca85aeed /OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
parentWhen an oar is loaded, do not create a default parcel before loading the parc... (diff)
downloadopensim-SC_OLD-5a0cb7d37e2491e508e6e37f0c9ee2e8ce6e7957.zip
opensim-SC_OLD-5a0cb7d37e2491e508e6e37f0c9ee2e8ce6e7957.tar.gz
opensim-SC_OLD-5a0cb7d37e2491e508e6e37f0c9ee2e8ce6e7957.tar.bz2
opensim-SC_OLD-5a0cb7d37e2491e508e6e37f0c9ee2e8ce6e7957.tar.xz
Thank you, Goetz, for a patch to fix prim count display in cut regions.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
index a46be13..893e35c 100644
--- a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
+++ b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
@@ -709,7 +709,7 @@ namespace OpenSim.Region.CoreModules.World.Land
709 int x; 709 int x;
710 int y; 710 int y;
711 711
712 if (x_float > Constants.RegionSize || x_float <= 0 || y_float > Constants.RegionSize || y_float <= 0) 712 if (x_float >= Constants.RegionSize || x_float < 0 || y_float >= Constants.RegionSize || y_float < 0)
713 return null; 713 return null;
714 714
715 try 715 try
@@ -751,10 +751,10 @@ namespace OpenSim.Region.CoreModules.World.Land
751 { 751 {
752 try 752 try
753 { 753 {
754 if (m_landList.ContainsKey(m_landIDList[x / 4, y / 4])) 754 //if (m_landList.ContainsKey(m_landIDList[x / 4, y / 4]))
755 return m_landList[m_landIDList[x / 4, y / 4]]; 755 return m_landList[m_landIDList[x / 4, y / 4]];
756 else 756 //else
757 return null; 757 // return null;
758 } 758 }
759 catch (IndexOutOfRangeException) 759 catch (IndexOutOfRangeException)
760 { 760 {