diff options
author | UbitUmarov | 2017-01-21 02:29:08 +0000 |
---|---|---|
committer | UbitUmarov | 2017-01-21 02:29:08 +0000 |
commit | 85a31c9e76f136ae8f0afe0bd7a00c4fc1a8e66b (patch) | |
tree | 6ff68b7a606f74ab1d194fdcda4587b25d087188 | |
parent | set a sane default region ObjectCapacity (diff) | |
download | opensim-SC_OLD-85a31c9e76f136ae8f0afe0bd7a00c4fc1a8e66b.zip opensim-SC_OLD-85a31c9e76f136ae8f0afe0bd7a00c4fc1a8e66b.tar.gz opensim-SC_OLD-85a31c9e76f136ae8f0afe0bd7a00c4fc1a8e66b.tar.bz2 opensim-SC_OLD-85a31c9e76f136ae8f0afe0bd7a00c4fc1a8e66b.tar.xz |
initialize SimwideArea
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/LandObject.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandObject.cs b/OpenSim/Region/CoreModules/World/Land/LandObject.cs index 73b4cb5..ae79849 100644 --- a/OpenSim/Region/CoreModules/World/Land/LandObject.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandObject.cs | |||
@@ -1043,7 +1043,9 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
1043 | else | 1043 | else |
1044 | LandData.AABBMax = new Vector3(tx, ty, (float)m_scene.Heightmap[tx - 1, ty - 1]); | 1044 | LandData.AABBMax = new Vector3(tx, ty, (float)m_scene.Heightmap[tx - 1, ty - 1]); |
1045 | 1045 | ||
1046 | LandData.Area = tempArea * landUnit * landUnit; | 1046 | tempArea *= landUnit * landUnit; |
1047 | LandData.Area = tempArea; | ||
1048 | LandData.SimwideArea = tempArea; | ||
1047 | } | 1049 | } |
1048 | 1050 | ||
1049 | #endregion | 1051 | #endregion |