diff options
author | dahlia | 2014-02-20 00:18:28 -0800 |
---|---|---|
committer | dahlia | 2014-02-20 00:18:28 -0800 |
commit | a2866b85f3674b0f63b962f46f23490cd198515e (patch) | |
tree | eddfc1fa2dc4ee98ca968e9312faf87e0df77fdb /OpenSim/Region/CoreModules | |
parent | add EventManager event OnCrossAgentToNewRegion (diff) | |
download | opensim-SC_OLD-a2866b85f3674b0f63b962f46f23490cd198515e.zip opensim-SC_OLD-a2866b85f3674b0f63b962f46f23490cd198515e.tar.gz opensim-SC_OLD-a2866b85f3674b0f63b962f46f23490cd198515e.tar.bz2 opensim-SC_OLD-a2866b85f3674b0f63b962f46f23490cd198515e.tar.xz |
add newRegion parameter to CrossAgentToNewRegion event and trigger the event after crossing thread is invoked
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs index f1d69b0..c9adc37 100644 --- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs +++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | |||
@@ -1531,6 +1531,8 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
1531 | CrossAgentToNewRegionDelegate d = CrossAgentToNewRegionAsync; | 1531 | CrossAgentToNewRegionDelegate d = CrossAgentToNewRegionAsync; |
1532 | d.BeginInvoke(agent, newpos, neighbourRegion, isFlying, version, CrossAgentToNewRegionCompleted, d); | 1532 | d.BeginInvoke(agent, newpos, neighbourRegion, isFlying, version, CrossAgentToNewRegionCompleted, d); |
1533 | 1533 | ||
1534 | Scene.EventManager.TriggerCrossAgentToNewRegion(agent, isFlying, neighbourRegion); | ||
1535 | |||
1534 | return true; | 1536 | return true; |
1535 | } | 1537 | } |
1536 | 1538 | ||