diff options
author | Melanie | 2009-08-15 19:00:56 +0100 |
---|---|---|
committer | Melanie | 2009-08-15 19:00:56 +0100 |
commit | 973be659459c577433b831c451ff07048aa078be (patch) | |
tree | 887f0586edbb936cca2fb8381699d921a2299492 /OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
parent | Changed FromAssetID to FromItemID (diff) | |
download | opensim-SC-973be659459c577433b831c451ff07048aa078be.zip opensim-SC-973be659459c577433b831c451ff07048aa078be.tar.gz opensim-SC-973be659459c577433b831c451ff07048aa078be.tar.bz2 opensim-SC-973be659459c577433b831c451ff07048aa078be.tar.xz |
Merge branch 'master' of ../opensim-diva/ into inventory-connector
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs b/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs index c1e39a9..65c97e8 100644 --- a/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs +++ b/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs | |||
@@ -1086,11 +1086,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
1086 | 1086 | ||
1087 | public bool WaitForCallback(UUID id) | 1087 | public bool WaitForCallback(UUID id) |
1088 | { | 1088 | { |
1089 | int count = 20; | 1089 | int count = 200; |
1090 | while (m_agentsInTransit.Contains(id) && count-- > 0) | 1090 | while (m_agentsInTransit.Contains(id) && count-- > 0) |
1091 | { | 1091 | { |
1092 | //m_log.Debug(" >>> Waiting... " + count); | 1092 | //m_log.Debug(" >>> Waiting... " + count); |
1093 | Thread.Sleep(1000); | 1093 | Thread.Sleep(100); |
1094 | } | 1094 | } |
1095 | 1095 | ||
1096 | if (count > 0) | 1096 | if (count > 0) |
@@ -1207,16 +1207,16 @@ namespace OpenSim.Region.Framework.Scenes | |||
1207 | { | 1207 | { |
1208 | pos = pos + (agent.Velocity); | 1208 | pos = pos + (agent.Velocity); |
1209 | 1209 | ||
1210 | CachedUserInfo userInfo = m_commsProvider.UserProfileCacheService.GetUserDetails(agent.UUID); | 1210 | //CachedUserInfo userInfo = m_commsProvider.UserProfileCacheService.GetUserDetails(agent.UUID); |
1211 | if (userInfo != null) | 1211 | //if (userInfo != null) |
1212 | { | 1212 | //{ |
1213 | userInfo.DropInventory(); | 1213 | // userInfo.DropInventory(); |
1214 | } | 1214 | //} |
1215 | else | 1215 | //else |
1216 | { | 1216 | //{ |
1217 | m_log.WarnFormat("[SCENE COMM]: No cached user info found for {0} {1} on leaving region {2}", | 1217 | // m_log.WarnFormat("[SCENE COMM]: No cached user info found for {0} {1} on leaving region {2}", |
1218 | agent.Name, agent.UUID, agent.Scene.RegionInfo.RegionName); | 1218 | // agent.Name, agent.UUID, agent.Scene.RegionInfo.RegionName); |
1219 | } | 1219 | //} |
1220 | 1220 | ||
1221 | //bool crossingSuccessful = | 1221 | //bool crossingSuccessful = |
1222 | // CrossToNeighbouringRegion(neighbourHandle, agent.ControllingClient.AgentId, pos, | 1222 | // CrossToNeighbouringRegion(neighbourHandle, agent.ControllingClient.AgentId, pos, |
@@ -1315,11 +1315,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
1315 | } | 1315 | } |
1316 | else // Not successful | 1316 | else // Not successful |
1317 | { | 1317 | { |
1318 | CachedUserInfo userInfo = m_commsProvider.UserProfileCacheService.GetUserDetails(agent.UUID); | 1318 | //CachedUserInfo userInfo = m_commsProvider.UserProfileCacheService.GetUserDetails(agent.UUID); |
1319 | if (userInfo != null) | 1319 | //if (userInfo != null) |
1320 | { | 1320 | //{ |
1321 | userInfo.FetchInventory(); | 1321 | // userInfo.FetchInventory(); |
1322 | } | 1322 | //} |
1323 | agent.RestoreInCurrentScene(); | 1323 | agent.RestoreInCurrentScene(); |
1324 | } | 1324 | } |
1325 | // In any case | 1325 | // In any case |