diff options
author | Adam Frisby | 2008-02-14 12:16:33 +0000 |
---|---|---|
committer | Adam Frisby | 2008-02-14 12:16:33 +0000 |
commit | f3afa68a2af6ad5999e6efe3e4725cb17293108d (patch) | |
tree | 4253a44bee39976d6b3dd6813439f5966cf12632 /OpenSim/Grid/MessagingServer | |
parent | * Exposed AddHandlers in response to mantis #534. Thanks, kmeisthax! (diff) | |
download | opensim-SC_OLD-f3afa68a2af6ad5999e6efe3e4725cb17293108d.zip opensim-SC_OLD-f3afa68a2af6ad5999e6efe3e4725cb17293108d.tar.gz opensim-SC_OLD-f3afa68a2af6ad5999e6efe3e4725cb17293108d.tar.bz2 opensim-SC_OLD-f3afa68a2af6ad5999e6efe3e4725cb17293108d.tar.xz |
* Made new Framework.Constants class, added RegionSize member.
* Converted all instances of "256" spotted to use RegionSize instead. Some approximations used for border crossings (ie 255.9f) are still using that value, but should be updated to use something based on RegionSize.
* Moving Terrain to a RegionModule, implemented ITerrainChannel and TerrainModule - nonfunctional, but will be soon.
Diffstat (limited to 'OpenSim/Grid/MessagingServer')
-rw-r--r-- | OpenSim/Grid/MessagingServer/MessageService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Grid/MessagingServer/MessageService.cs b/OpenSim/Grid/MessagingServer/MessageService.cs index c2669b0..059a6b0 100644 --- a/OpenSim/Grid/MessagingServer/MessageService.cs +++ b/OpenSim/Grid/MessagingServer/MessageService.cs | |||
@@ -451,7 +451,7 @@ namespace OpenSim.Grid.MessagingServer | |||
451 | regionProfile = new RegionProfileData(); | 451 | regionProfile = new RegionProfileData(); |
452 | regionProfile.httpPort = (uint)Convert.ToInt32((string)responseData["http_port"]); | 452 | regionProfile.httpPort = (uint)Convert.ToInt32((string)responseData["http_port"]); |
453 | regionProfile.httpServerURI = "http://" + internalIpStr + ":" + regionProfile.httpPort + "/"; | 453 | regionProfile.httpServerURI = "http://" + internalIpStr + ":" + regionProfile.httpPort + "/"; |
454 | regionProfile.regionHandle = Helpers.UIntsToLong((regX * 256), (regY * 256)); | 454 | regionProfile.regionHandle = Helpers.UIntsToLong((regX * Constants.RegionSize), (regY * Constants.RegionSize)); |
455 | regionProfile.regionLocX = regX; | 455 | regionProfile.regionLocX = regX; |
456 | regionProfile.regionLocY = regY; | 456 | regionProfile.regionLocY = regY; |
457 | 457 | ||