diff options
author | Teravus Ovares | 2007-11-28 06:18:07 +0000 |
---|---|---|
committer | Teravus Ovares | 2007-11-28 06:18:07 +0000 |
commit | b7d596a6af51bea7dba642cdc768ac5ff77af5f3 (patch) | |
tree | 967b749b10b548f6ed687d8ade4680e411793da4 /OpenSim/Framework/RegionInfo.cs | |
parent | build ThrottleCheck function to clear up bits of the throttle (diff) | |
download | opensim-SC-b7d596a6af51bea7dba642cdc768ac5ff77af5f3.zip opensim-SC-b7d596a6af51bea7dba642cdc768ac5ff77af5f3.tar.gz opensim-SC-b7d596a6af51bea7dba642cdc768ac5ff77af5f3.tar.bz2 opensim-SC-b7d596a6af51bea7dba642cdc768ac5ff77af5f3.tar.xz |
* Restaring the sim works fine in grid mode now. Sims announce themselves to their neighbors when they start up. Neighbors get this message and tell their agents that there's a new sim up.
* Certain unrecoverable physics based crashes in ODE are now hooked up to the 'restart the sim' routine.
Diffstat (limited to 'OpenSim/Framework/RegionInfo.cs')
-rw-r--r-- | OpenSim/Framework/RegionInfo.cs | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/OpenSim/Framework/RegionInfo.cs b/OpenSim/Framework/RegionInfo.cs index c604d53..dd4078b 100644 --- a/OpenSim/Framework/RegionInfo.cs +++ b/OpenSim/Framework/RegionInfo.cs | |||
@@ -69,7 +69,7 @@ namespace OpenSim.Framework | |||
69 | 69 | ||
70 | public LLUUID RegionID = LLUUID.Zero; | 70 | public LLUUID RegionID = LLUUID.Zero; |
71 | 71 | ||
72 | private uint m_remotingPort; | 72 | public uint m_remotingPort; |
73 | public uint RemotingPort | 73 | public uint RemotingPort |
74 | { | 74 | { |
75 | get | 75 | get |
@@ -184,7 +184,7 @@ namespace OpenSim.Framework | |||
184 | } | 184 | } |
185 | } | 185 | } |
186 | } | 186 | } |
187 | [Serializable] | 187 | |
188 | public class RegionInfo : SimpleRegionInfo | 188 | public class RegionInfo : SimpleRegionInfo |
189 | { | 189 | { |
190 | public string RegionName = ""; | 190 | public string RegionName = ""; |
@@ -235,7 +235,15 @@ namespace OpenSim.Framework | |||
235 | { | 235 | { |
236 | 236 | ||
237 | } | 237 | } |
238 | 238 | public RegionInfo(SearializableRegionInfo ConvertFrom) | |
239 | { | ||
240 | m_regionLocX = ConvertFrom.RegionLocX; | ||
241 | m_regionLocY = ConvertFrom.RegionLocY; | ||
242 | m_internalEndPoint = ConvertFrom.InternalEndPoint; | ||
243 | m_externalHostName = ConvertFrom.ExternalHostName; | ||
244 | m_remotingPort = ConvertFrom.RemotingPort; | ||
245 | RemotingAddress = ConvertFrom.RemotingAddress; | ||
246 | } | ||
239 | //not in use, should swap to nini though. | 247 | //not in use, should swap to nini though. |
240 | public void LoadFromNiniSource(IConfigSource source) | 248 | public void LoadFromNiniSource(IConfigSource source) |
241 | { | 249 | { |