diff options
author | Melanie | 2011-05-03 14:26:18 +0100 |
---|---|---|
committer | Melanie | 2011-05-03 14:26:18 +0100 |
commit | af55eda16b1025796a61289a0ab84b26e6444627 (patch) | |
tree | 6449c15b8f54240cfef62d606fab88a185f75f03 /OpenSim/Region | |
parent | Merge branch 'master' into careminster-presence-refactor (diff) | |
parent | Increased timeout for fat UpdateAgent to 200secs. Nebadon's 3800-prim alien a... (diff) | |
download | opensim-SC_OLD-af55eda16b1025796a61289a0ab84b26e6444627.zip opensim-SC_OLD-af55eda16b1025796a61289a0ab84b26e6444627.tar.gz opensim-SC_OLD-af55eda16b1025796a61289a0ab84b26e6444627.tar.bz2 opensim-SC_OLD-af55eda16b1025796a61289a0ab84b26e6444627.tar.xz |
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/RemoteSimulationConnector.cs | 4 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/RemoteSimulationConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/RemoteSimulationConnector.cs index 5564067..391b1a1 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/RemoteSimulationConnector.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/RemoteSimulationConnector.cs | |||
@@ -179,7 +179,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Simulation | |||
179 | return true; | 179 | return true; |
180 | 180 | ||
181 | // else do the remote thing | 181 | // else do the remote thing |
182 | if (!m_localBackend.IsLocalRegion(destination.RegionHandle)) | 182 | if (!m_localBackend.IsLocalRegion(destination.RegionID)) |
183 | { | 183 | { |
184 | return m_remoteConnector.CreateAgent(destination, aCircuit, teleportFlags, out reason); | 184 | return m_remoteConnector.CreateAgent(destination, aCircuit, teleportFlags, out reason); |
185 | } | 185 | } |
@@ -241,7 +241,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Simulation | |||
241 | return true; | 241 | return true; |
242 | 242 | ||
243 | // else do the remote thing | 243 | // else do the remote thing |
244 | if (!m_localBackend.IsLocalRegion(destination.RegionHandle)) | 244 | if (!m_localBackend.IsLocalRegion(destination.RegionID)) |
245 | return m_remoteConnector.QueryAccess(destination, id, position, out version, out reason); | 245 | return m_remoteConnector.QueryAccess(destination, id, position, out version, out reason); |
246 | 246 | ||
247 | return false; | 247 | return false; |
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index cdf8366..553b575 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -1077,7 +1077,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1077 | // and it has already rezzed the attachments and started their scripts. | 1077 | // and it has already rezzed the attachments and started their scripts. |
1078 | // We do the following only for non-login agents, because their scripts | 1078 | // We do the following only for non-login agents, because their scripts |
1079 | // haven't started yet. | 1079 | // haven't started yet. |
1080 | if (wasChild) | 1080 | if (wasChild && Attachments != null && Attachments.Count > 0) |
1081 | { | 1081 | { |
1082 | m_log.DebugFormat("[SCENE PRESENCE]: Restarting scripts in attachments..."); | 1082 | m_log.DebugFormat("[SCENE PRESENCE]: Restarting scripts in attachments..."); |
1083 | // Resume scripts | 1083 | // Resume scripts |