diff options
author | Robert Adams | 2013-10-02 16:57:02 -0700 |
---|---|---|
committer | Robert Adams | 2013-10-07 13:57:30 -0700 |
commit | 25ae59b9ebf71d39d2ff5237b791f2599f4fa082 (patch) | |
tree | 2a7a96da851cc236e1c5842301d08ed852c24f65 /OpenSim/Region/CoreModules/Avatar/UserProfiles | |
parent | varregion: add new TerrainData and TerrainCompressor routines. TerrainCompres... (diff) | |
download | opensim-SC-25ae59b9ebf71d39d2ff5237b791f2599f4fa082.zip opensim-SC-25ae59b9ebf71d39d2ff5237b791f2599f4fa082.tar.gz opensim-SC-25ae59b9ebf71d39d2ff5237b791f2599f4fa082.tar.bz2 opensim-SC-25ae59b9ebf71d39d2ff5237b791f2599f4fa082.tar.xz |
varregion: remove scattered use of Constants.RegionSize by having routines reference RegionInfo.RegionWorldLoc?.
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/UserProfiles')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/UserProfiles/UserProfileModule.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/UserProfiles/UserProfileModule.cs b/OpenSim/Region/CoreModules/Avatar/UserProfiles/UserProfileModule.cs index 7c60a40..a982466 100644 --- a/OpenSim/Region/CoreModules/Avatar/UserProfiles/UserProfileModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/UserProfiles/UserProfileModule.cs | |||
@@ -663,8 +663,8 @@ namespace OpenSim.Region.OptionalModules.Avatar.UserProfiles | |||
663 | 663 | ||
664 | Vector3 avaPos = p.AbsolutePosition; | 664 | Vector3 avaPos = p.AbsolutePosition; |
665 | // Getting the global position for the Avatar | 665 | // Getting the global position for the Avatar |
666 | Vector3 posGlobal = new Vector3(remoteClient.Scene.RegionInfo.LegacyRegionLocX*Constants.RegionSize + avaPos.X, | 666 | Vector3 posGlobal = new Vector3(remoteClient.Scene.RegionInfo.RegionWorldLocX + avaPos.X, |
667 | remoteClient.Scene.RegionInfo.LegacyRegionLocY*Constants.RegionSize + avaPos.Y, | 667 | remoteClient.Scene.RegionInfo.RegionWorldLocY + avaPos.Y, |
668 | avaPos.Z); | 668 | avaPos.Z); |
669 | 669 | ||
670 | string landOwnerName = string.Empty; | 670 | string landOwnerName = string.Empty; |