diff options
author | Diva Canto | 2013-05-20 09:26:15 -0700 |
---|---|---|
committer | Diva Canto | 2013-05-20 09:26:15 -0700 |
commit | 10e4fb2ce26c428fb1fe309093e3962bae01bc74 (patch) | |
tree | ba1fc4db5c342d57461edd9917d42fdb584b8202 /OpenSim/Region/CoreModules | |
parent | Add comment (diff) | |
parent | fix error in hull point indexing (diff) | |
download | opensim-SC-10e4fb2ce26c428fb1fe309093e3962bae01bc74.zip opensim-SC-10e4fb2ce26c428fb1fe309093e3962bae01bc74.tar.gz opensim-SC-10e4fb2ce26c428fb1fe309093e3962bae01bc74.tar.bz2 opensim-SC-10e4fb2ce26c428fb1fe309093e3962bae01bc74.tar.xz |
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | 13 | ||||
-rw-r--r-- | OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs | 2 |
2 files changed, 2 insertions, 13 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs index eac0da7..f58a24f 100644 --- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs +++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | |||
@@ -937,6 +937,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
937 | EnableChildAgents(sp); | 937 | EnableChildAgents(sp); |
938 | 938 | ||
939 | // Finally, kill the agent we just created at the destination. | 939 | // Finally, kill the agent we just created at the destination. |
940 | // XXX: Possibly this should be done asynchronously. | ||
940 | Scene.SimulationService.CloseAgent(finalDestination, sp.UUID); | 941 | Scene.SimulationService.CloseAgent(finalDestination, sp.UUID); |
941 | } | 942 | } |
942 | 943 | ||
@@ -1481,9 +1482,6 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
1481 | return agent; | 1482 | return agent; |
1482 | } | 1483 | } |
1483 | 1484 | ||
1484 | //AgentCircuitData circuitdata = m_controllingClient.RequestClientInfo(); | ||
1485 | agent.ControllingClient.RequestClientInfo(); | ||
1486 | |||
1487 | //m_log.Debug("BEFORE CROSS"); | 1485 | //m_log.Debug("BEFORE CROSS"); |
1488 | //Scene.DumpChildrenSeeds(UUID); | 1486 | //Scene.DumpChildrenSeeds(UUID); |
1489 | //DumpKnownRegions(); | 1487 | //DumpKnownRegions(); |
@@ -1543,15 +1541,6 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
1543 | agent.CloseChildAgents(neighbourx, neighboury); | 1541 | agent.CloseChildAgents(neighbourx, neighboury); |
1544 | 1542 | ||
1545 | AgentHasMovedAway(agent, false); | 1543 | AgentHasMovedAway(agent, false); |
1546 | |||
1547 | // // the user may change their profile information in other region, | ||
1548 | // // so the userinfo in UserProfileCache is not reliable any more, delete it | ||
1549 | // // REFACTORING PROBLEM. Well, not a problem, but this method is HORRIBLE! | ||
1550 | // if (agent.Scene.NeedSceneCacheClear(agent.UUID)) | ||
1551 | // { | ||
1552 | // m_log.DebugFormat( | ||
1553 | // "[ENTITY TRANSFER MODULE]: User {0} is going to another region", agent.UUID); | ||
1554 | // } | ||
1555 | 1544 | ||
1556 | //m_log.Debug("AFTER CROSS"); | 1545 | //m_log.Debug("AFTER CROSS"); |
1557 | //Scene.DumpChildrenSeeds(UUID); | 1546 | //Scene.DumpChildrenSeeds(UUID); |
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs index a413546..9427961 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs | |||
@@ -317,7 +317,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Simulation | |||
317 | // "[LOCAL SIMULATION CONNECTOR]: Found region {0} {1} to send AgentUpdate", | 317 | // "[LOCAL SIMULATION CONNECTOR]: Found region {0} {1} to send AgentUpdate", |
318 | // s.RegionInfo.RegionName, destination.RegionHandle); | 318 | // s.RegionInfo.RegionName, destination.RegionHandle); |
319 | 319 | ||
320 | Util.FireAndForget(delegate { m_scenes[destination.RegionID].IncomingCloseAgent(id, false); }); | 320 | m_scenes[destination.RegionID].IncomingCloseAgent(id, false); |
321 | return true; | 321 | return true; |
322 | } | 322 | } |
323 | 323 | ||